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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unicode 0x5 character

Status
Not open for further replies.

WhiZa

Programmer
Jan 25, 2002
11
US
Some character in the xml document I'm uploading is giving me the error:
An invalid XML character (Unicode: 0x5) was found in the element content of the document.

Can someone tell me what character is Unicode 0x5 so I can strip it from my file? Thanks
 
Unicode shares the same code points with ASCII, so anything below 0x80 is the same in both encodings.

0x05 is the ENQ (Enquire) character, and is a non-printing control character.

It is (as you've found out) not an allowed character in XML. I would contact whoever gave you the file and ask them to not send it to you.

Chip H.


____________________________________________________________________
Click here to learn Ways to help with Tsunami Relief
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top