xsl-list
[Top] [All Lists]

RE: Encoding problem

2005-08-31 04:17:21
That suggests that the encoding is indeed Windows CP-1252. x94 in CP-1252
represents the Unicode character x201D, right double quotation mark.

This suggests that if you change the XML declaration of the file to say
encoding="cp1252", and run it through a parser that recognizes that encoding
(not all do, necessarily) then the correct data should be passed to your
application.

Michael Kay
http://www.saxonica.com/ 

-----Original Message-----
From: amita rathore [mailto:amita_rathore(_at_)yahoo(_dot_)com] 
Sent: 31 August 2005 12:01
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] Encoding problem

I opened the file using UltraEdit. The sequence shows
as 94 for the trouble character.

--- Michael Kay <mike(_at_)saxonica(_dot_)com> wrote:

and (b)
the sequence of hex octets used to encode it.
How can I find it ?


Open the file in a hex editor. I use UltraEdit. This
is an essential tool
for tackling encoding problems: you can't rely on
the characters seen on the
screen to tell you what the octets in the file are.

Michael Kay
http://www.saxonica.com/




--~------------------------------------------------------------------
XSL-List info and archive: 
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to:
http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>