Re: Plea for the support of unicode escape sequences
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Plea for the support of unicode escape sequences
- From: Tom N Harris <telliamed@...>
- Date: 2011年6月28日 23:29:24 -0400
On 06/28/2011 04:24 PM, Lorenzo Donati wrote:
Unicode escape sequences are platform independent. They are useful for
the same reasons why ASCII codes are useful, at least for people working
with Unicode.
Technically, Lua doesn't even require ASCII, as the recent adventures
with lctype.c have shown. Unicode is platform specific because not all
platforms use the same encoding (UTF-8 vs UTF-16). And when Unicode
isn't being used at all this will just be dead-weight in the parser.
How about supporting escape sequences greater than 255 when sizeof(char)>1 ?
--
- tom
telliamed@whoopdedo.org