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

Re: UTF16 and GCC



Followup to:  <15181.61287.395474.487388@xxxxxxxxxxxxxxxx>
By author:    Bruno Haible <haible@xxxxxxx>
In newsgroup: linux.utf8
> 
> If we design such a feature like u"..." it ought to be usable for
> non-ASCII characters as well (such as the quote characters contained
> in your .doc file). And C 99 doesn't provide for a way to reliably
> produce UTF-8 strings, other than hex or octal escapes:
> "\xe2\x82\xac". Thus it is the same problem as you are having, and
> merits to be solved the same way.
> 

What about \uXXXX?

	-hpa
-- 
<hpa@xxxxxxxxxxxxx> at work, <hpa@xxxxxxxxx> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/