This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: 𡁀 coming out as ?
- From: Mike Brown <mike at skew dot org>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Mon, 11 Mar 2002 14:03:26 -0700 (MST)
- Subject: Re: [xsl] 𡁀 coming out as ?
- Reply-to: xsl-list at lists dot mulberrytech dot com
Randy Belknap wrote:
> >Use
> > xml.transformNodeToObject(style, Response);
>
> I used this command and got a different result listed below, but still not
> what I was looking for. The two '到's that go through the transformer
> come out as 'OR' and are displayed as 'OR' no matter what encoding I select.
> In addition, I get the a strange character pair before the ' Hello' that I
> seems to be coming out of nowhere. (As before the '到' that does not
> go through the transformer does correctly display as a chinese character.)
>
> Thanks,
>
> Randy
>
>
> =====New Result=====
>
> <html>
> <body>
> <p>到<br>
> ÿþ H e l l o : 0R R a n d y 0R
I don't have the answer for you, but I can tell you that here you are seeing a
string of UTF-16 bytes that have been shoved into the middle of output that is
in a different, single-byte encoding.
- Mike
____________________________________________________________________________
mike j. brown | xml/xslt: http://skew.org/xml/
denver/boulder, colorado, usa | personal: http://hyperreal.org/~mike/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list