Unicode (or any multibyte char support)

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Fri Apr 14 23:56:00 GMT 2000


> I was wondering if gcc supports in some way double byte
> strings (for Unicode support).

It's not clear what kind of support you are expecting. gcc recognizes
the wchar_t type; any routines operating on those would be provided by
the C library. Indeed, GNU libc supports processing Unicode in
wchar_t.

If you were asking for Unicode string literals, that is not supported,
yet. You can use multibyte string literals, though, if you configure
the compiler with --with-c-mbchar.

Regards,
Martin



More information about the Gcc mailing list