Unicode (or any multibyte char support)
Sun Apr 16 16:09:00 GMT 2000
Bill Cox <firstname.lastname@example.org> writes:
> At 11:39 AM 4/14/00 +0300, ESTeam wrote:
> >I was wondering if gcc supports in some way double byte
> >strings (for Unicode support).
> Yes, if your compiler is configured with WCHAR_TYPE and
> WCHAR_TYPE_SIZE correctly. For Unicode, the setting
> probably should be
> #define WCHAR_TYPE "short unsigned int"
> #define WCHAR_TYPE_SIZE 16
You probably don't want to support Unicode, though. Instead you want
to support the ISO version of the same thing, which has Unicode as a
subset and uses 32-bit characters.
- Geoffrey Keating <email@example.com>
More information about the Gcc-patches