Unicode (or any multibyte char support)
Bill Cox
bill.cox@windriver.com
Sun Apr 16 12:17:00 GMT 2000
At 11:39 AM 4/14/00 +0300, ESTeam wrote:
>Hi,
>
>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
Our version of gcc sets WCHAR_TYPE_SIZE to 8 bits
and WCHAR_TYPE to "char" for a couple of targets!
That will be changing Real Soon Now...
More information about the Gcc
mailing list