RE: [xsl] url encoding gets wrong with åöä?

Subject: RE: [xsl] url encoding gets wrong with åöä?
From: "Niklas Holmberg" <Niklas.Holmberg@xxxxxxxxx>
Date: Fri, 9 Jun 2006 09:00:31 +0200
Checked in a hex editor and each CCCC%C$C6 is shown as "??" (3F 3F).
Any suggestions from there?

/Niklas

-----Original Message-----
From: andrew welch [mailto:andrew.j.welch@xxxxxxxxx] 
Sent: den 8 juni 2006 14:22
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] url encoding gets wrong with C%C6C$?

On 6/8/06, Niklas Holmberg <Niklas.Holmberg@xxxxxxxxx> wrote:
>
> It's not the browser that is the problem. It's the xslt output that doesn't get right. I get the characters ?? instead of WWW&. "AffWrsluncher" commes out as "Aff??rsluncher".

How can you be sure?  When the application you are viewing the result in doesn't having a mapping in the specified encoding for the byte sequence, it may use a ? equally if it does have a mapping but the font you are using doesn't have a glyph for the character then it may use a ?

The only to way know for certain is to check the bytes using a hex editor - if the byte is 0x3F then it really is a question mark, otherwise it's just one of the above reasons.

cheers
andrew




Confidentiality Notice: This e-mail transmission may contain confidential or legally privileged information that is intended only for the individual or entity named in the e-mail address. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or reliance upon the contents of this e-mail is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete all copies of this message.

Current Thread