xsl-list
[Top] [All Lists]

RE: global find and replace certain "special" characters and replicate structure as it is

2004-09-08 10:35:05
This is what frhed (hex editor shows):

Text view: (Right side)
tion     
(5 space looking characters)

Hex View: (Left Side)
74 69 6f 6e a0 a0 a0 a0 a0.

(Is this what we are looking for?)

As copied and pasted from the editor:
tion<bh:a0><bh:a0><bh:a0><bh:a0>

Please do let me know.

Thanks,

Abhishek
____________________________________________________________

Abhishek Sanwal
HP - Houston Campus

-----Original Message-----
From: Michael Kay [mailto:mhk(_at_)mhk(_dot_)me(_dot_)uk] 
Sent: Wednesday, September 08, 2004 12:24 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] global find and replace certain "special" characters
and replicate structure as it is


The Source XML as generated by Infopath:
Encoding: UTF-8
Character in Hex: c2

Output XML generated after XSL Transform:
Encoding: UTF-8
Character in Hex: a0


Those are not characters, they are bytes: in UTF-8 any byte above 7F is
part
of a multi-byte character, so the byte values are meaningless without
knowing the preceding or following bytes.

Michael Kay


--+------------------------------------------------------------------
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>
--+--