Well, as long as you're checking in the hex editor you should be able
to see the byte order mark, if there is one, compare this with your
declared encoding etc. However I suppose that this won't be a problem
since, IIRC, 3F == ?.
At this point I would assume that the problem was not at the xslt
level but higher up; protocol level, server side programming,
something that is handling your xml before it gets sent to the xslt.
Cheers,
Bryan
On 6/9/06, Niklas Holmberg <Niklas(_dot_)Holmberg(_at_)eniro(_dot_)com> wrote:
Checked in a hex editor and each ÅÄÖåäö is shown as "??" (3F 3F).
Any suggestions from there?
/Niklas
-----Original Message-----
From: andrew welch [mailto:andrew(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com]
Sent: den 8 juni 2006 14:22
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] url encoding gets wrong with åöä?
On 6/8/06, Niklas Holmberg <Niklas(_dot_)Holmberg(_at_)eniro(_dot_)com> 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
והצ. "Affהrsluncher" 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.