pmkwan wrote: > Thanks for the prompt reply. Since I'm using java, and my database is MySQL, > do you know what I should use to output this character (Unicode: 0x1e) > correctly within the CDATA section? > > If there's no easy solution, does that mean I have to filter out these funky > characters before outputting them in the CDATA section?
The unicode character 0x1e is forbidden outright from appearing in an XML document. There is no way to represent it within XML. (Personally, this seems like a rather unnecessary limitation to me, but that's how part of how XML is defined.) If transport of arbitrary data is your goal, perhaps something other than XML would fit your design criteria better. Max.
signature.asc
Description: OpenPGP digital signature