Re: Invalid UTF-8

Oren Ben-Kiki <[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <1251641596.10156.244.camel@nero>
On Fri, 2009-08-28 at 14:26 -0700, Josh ben Jore wrote:
> There should be no illegal bytes in YAML or perhaps better said, it must be
> possible to represent all bytes in YAML.

We are in luck. The Unicode standard is defined such that all the 8-bit
values (0-255) are valid code points, so it is possible to use "\xNN" to
represent any "byte" in a YAML string. However (1) *Not* all 16-bit
"\uNNNN" or 32-bit "\UNNNNNNNN" are valid and (2) this doesn't solve
William's problem.

Have fun,

	Oren Ben-Kiki


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.