erik quanstrom wrote: > wchar_t is not the equivalent of Rune. Rune is always utf-8. wchar_t > can be whatever.
I could have sworn that Plan 9 "rune" is used to contain a Unicode value (UCS-2). wchar_t can do the same thing, and does on some platforms. On others, wchar_t holds a full 31-but UCS-4 code, and on others (Solaris for example) its encoding is locale-dependent (which I would agree is not a good design). > suppose Linux user a and user b grep the same "text" file for the same string. > results will depend on the users' locales. But if they're trying to match an alphabetic character class, the result *should* depend on the locale.
