[Bug c/20410] Add support for UTF-16 string syntax to C and C++

2006-05-24 Thread grhoten at jtcsv dot com


--- Comment #3 from grhoten at jtcsv dot com  2006-05-24 21:45 ---
FYI I think other people have created patches to gcc to implement this feature.
It would be nice if this feature was supported in gcc by default.

http://ftp4.de.freesbie.org/pub/misc/sapdb/i18N/utf16/ugcc-3.2/


-- 


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



[Bug c/20410] New: Add support for UTF-16 string syntax to C and C++

2005-03-10 Thread grhoten at jtcsv dot com
This is a request for enhancement. Please add platform independent UTF-16 string
syntax (platform independent means not using wchar_t). The variability of the
wchar_t type makes it unsuitable for UTF-16 strings. This request is to
implement ISO/IEC JTC1 SC22 WG14's technical report that is titled, "Extensions
for the programming language C to support new character data types". A copy of
the technical report can be found here:
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1040.pdf

There are already several compilers that support the u"" string syntax. IBM
Visual Age 7 and HP-UX aCC A.03.37 are two compilers that support the u""
syntax. Several other compilers already support UTF-16 strings through other
types of syntax (using U"" or L""). gcc is one of the few compilers that has no
UTF-16 syntax in the compiler.

Our project doesn't need any of the functions or the UTF-32 type that are
mentioned in the technical report. The ability to declare a UTF-16 string as
u"This is my string with a \u03BC" would be very helpful to us.

-- 
   Summary: Add support for UTF-16 string syntax to C and C++
   Product: gcc
   Version: unknown
Status: UNCONFIRMED
  Severity: enhancement
  Priority: P2
 Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: grhoten at jtcsv dot com
CC: gcc-bugs at gcc dot gnu dot org


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


[Bug c/20410] Add support for UTF-16 string syntax to C and C++

2008-08-06 Thread grhoten at jtcsv dot com


--- Comment #4 from grhoten at jtcsv dot com  2008-08-06 17:07 ---
Has this recently been implemented? If so, which version will it be available?

I recently noticed this patch mentioned for inclusion.
http://gcc.gnu.org/ml/gcc-patches/2008-04/msg01235.html


-- 


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