[Bug preprocessor/3744] Wide string literals not interpreted according to locale

zack at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jul 30 21:56:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3744


zack at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|SUSPENDED                   |RESOLVED
         Resolution|                            |WONTFIX


------- Additional Comments From zack at gcc dot gnu dot org  2003-07-30 21:56 -------
Current mainline by default generates UCS-2 or UCS-4, native endianness, for all
wide strings (depending on the width of wchar_t); and UTF-8 for all narrow
strings.  There are command line switches to override these encoding choices.

At present mainline insists that its input be UTF-8; this limitation will be
lifted before 3.4 ships.  (See bug 11439.)

We are not going to make the behavior of the compiler vary with the locale.
Therefore I am closing this bug.



More information about the Gcc-bugs mailing list