This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Unicode (or any multibyte char support)
- To: ESTeam <esteam at otenet dot gr>
- Subject: Re: Unicode (or any multibyte char support)
- From: Bill Cox <bill dot cox at windriver dot com>
- Date: Sun, 16 Apr 2000 12:09:09 -0700
- Cc: gcc at gcc dot gnu dot org
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...