Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

invisible ASCII characters in XML document

Status
Not open for further replies.

2HARD4U

Programmer
May 4, 2007
1
LT
Hi,
Could u help me ?
I want to write serialized object between my XML doc tags. but .. if serialized ob. contains any invisible ASCII symbols (characters) (like 0 .. 29) the JAVA SAX parser can't recognize it ant writes its code between xml element : for example "�" or "&#25" etc...and after it i can't read this element with same parser !!! It do not recognize these symbols.(Other ASCII symbols are written in CDATA tags if needed and everything's OK with them).

What Encoding or smth else i should use to write these symbols not in "�" format ? Now I'm using UTF-8.

Thnx 4 Your help !

 
You can consider to encode the data in the base64binary format.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top