[Home] [By Thread] [By Date] [Recent Entries]

  • From: Michael Kay <mike@s...>
  • To: Tim Bray <tbray@t...>
  • Date: Thu, 27 Apr 2017 08:23:56 +0100

> 
> XML just doesn't provide a way to represent the Unicode character U+0000. So you're going to have to choose a nonstandard application-specific representation to achieve your goal. Rather than screw around with pseudo-JSON \u... constructs, I'd pick a codepoint in a Unicode Private Use Area, and agree that it's a stand-in for U+0000.
> 

But if you need a representation that can handle any possible sequence of Unicode codepoints losslessly, then you're going to need some kind of escaping or markup, and pretty-well anything you choose is going to be inconvenient to process.

Michael Kay
Saxonica



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member