jonharris7
Programmer
I'm trying to figure out the proper way to encode a bullet character (ASCII charater 149 decimal or 0x95 hex) in an XML document. Can I just put in a literal 0x95 code, i.e. a 0x95 hex character when viewed in a hex editor?
Or is it legal to specify a specic hex character in XML such as \x95 ?
How about as • ?
I'm getting mixed results depending on what XML parsers I use, some of which are home-grown. I've been experimenting with both Windows-1252 encoding and UTF-8. Windows-1252 is preferred if I can do it using that.
Thanks in advance for your help!
Or is it legal to specify a specic hex character in XML such as \x95 ?
How about as • ?
I'm getting mixed results depending on what XML parsers I use, some of which are home-grown. I've been experimenting with both Windows-1252 encoding and UTF-8. Windows-1252 is preferred if I can do it using that.
Thanks in advance for your help!