universal character name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I was building a test program that I wrote a long time ago to check a utf-8 code conversion facet, and it will no longer build because the line that checks to see if "\xc2\x80" really converts to "\u0080" doesn't compile. This is entirely correct, of course since the current draft standard in section 2.3.2 says that any program with universal character names in the control character ranges of 0x00â0x1F or 0x7Fâ0x9F is ill-formed. That means I can't say "\u0080". Still, the characters are valid unicode, and it makes it more annoying.

Is "\x0\x80" the equivalent, or can there be endianess issues with wide chars?

Patrick


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux