RE: Digits in Unicode Names

From: Yves Arrouye (yves@realnames.com)
Date: Fri Apr 06 2001 - 18:52:59 EDT


> What would really be nice, is for glibc-2.2 or any other unicode enabled
>
> library to display unicode characters,etc by juts using the "escape"
> sequence \uXXXX, where X represents a hexadecimal value......

Make that up to 6 Xs. One of the problems of such escapes when used in code,
a la ISO C++ (like the \ooo for octal digits) is that they're
variable-length, and stop as soon as an invalid char for the radix is
encountered. That makes them error-prone (but fun).

Does anybody know if the C++ standard specified how many hex digits max this
escape can have? And doesn't the standard say something like \u is for
wchar_t, which may not be Unicode (I hope I'm wrong here)?

YA



This archive was generated by hypermail 2.1.2 : Fri Jul 06 2001 - 00:17:15 EDT