Support for Unicode in gcc

Michael Vance briareos@lokigames.com
Thu Aug 3 08:46:00 GMT 2000


On Thu, Aug 03, 2000 at 07:58:36AM -0300, Alexandre Oliva wrote:

> > wchar_t   *wtext = L"abc";
> 
> > How do we do this in gcc?
> 
> Just like in VC++.  The line above compiles successfully for me with
> g++.

Right. Except that VC++ generates a string with two-byte characters,
and gcc generates a string with four-byte characters.

m.

-- 
Programmer             "Ha ha." "Ha ha." "What are you laughing at?"
Loki Software                      "Just the horror of being alive."
http://lokigames.com/~briareos/                   - Tony Millionaire


More information about the Gcc mailing list