public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/20410] New: Add support for UTF-16 string syntax to C and C++
@ 2005-03-10 18:09 grhoten at jtcsv dot com
  2005-03-10 18:12 ` [Bug c/20410] " pinskia at gcc dot gnu dot org
  2005-03-10 18:12 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 7+ messages in thread
From: grhoten at jtcsv dot com @ 2005-03-10 18:09 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug c/20410] Add support for UTF-16 string syntax to C and C++
  2005-03-10 18:09 [Bug c/20410] New: Add support for UTF-16 string syntax to C and C++ grhoten at jtcsv dot com
  2005-03-10 18:12 ` [Bug c/20410] " pinskia at gcc dot gnu dot org
@ 2005-03-10 18:12 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-10 18:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-10 18:12 -------
Suspending until then.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |SUSPENDED


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug c/20410] Add support for UTF-16 string syntax to C and C++
  2005-03-10 18:09 [Bug c/20410] New: Add support for UTF-16 string syntax to C and C++ grhoten at jtcsv dot com
@ 2005-03-10 18:12 ` pinskia at gcc dot gnu dot org
  2005-03-10 18:12 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-10 18:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-10 18:12 -------
Confirmed, but this will most likely not going to happen until this is approved or is decided that is 
about to be approved.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-03-10 18:12:08
               date|                            |


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug c/20410] Add support for UTF-16 string syntax to C and C++
       [not found] <bug-20410-6770@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2008-08-06 17:21 ` paolo dot carlini at oracle dot com
@ 2008-08-10 16:37 ` paolo dot carlini at oracle dot com
  3 siblings, 0 replies; 7+ messages in thread
From: paolo dot carlini at oracle dot com @ 2008-08-10 16:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from paolo dot carlini at oracle dot com  2008-08-10 16:36 -------
I think this is really a duplicate of c++/33979.

*** This bug has been marked as a duplicate of 33979 ***


-- 

paolo dot carlini at oracle dot com changed:

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


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug c/20410] Add support for UTF-16 string syntax to C and C++
       [not found] <bug-20410-6770@http.gcc.gnu.org/bugzilla/>
  2006-05-24 21:45 ` grhoten at jtcsv dot com
  2008-08-06 17:08 ` grhoten at jtcsv dot com
@ 2008-08-06 17:21 ` paolo dot carlini at oracle dot com
  2008-08-10 16:37 ` paolo dot carlini at oracle dot com
  3 siblings, 0 replies; 7+ messages in thread
From: paolo dot carlini at oracle dot com @ 2008-08-06 17:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from paolo dot carlini at oracle dot com  2008-08-06 17:19 -------
That patch is in (+ some follow ups, see also C++/33979 for updated
references). As been applied to mainline, thus the new features will be
available in gcc4.4.0.


-- 


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug c/20410] Add support for UTF-16 string syntax to C and C++
       [not found] <bug-20410-6770@http.gcc.gnu.org/bugzilla/>
  2006-05-24 21:45 ` grhoten at jtcsv dot com
@ 2008-08-06 17:08 ` grhoten at jtcsv dot com
  2008-08-06 17:21 ` paolo dot carlini at oracle dot com
  2008-08-10 16:37 ` paolo dot carlini at oracle dot com
  3 siblings, 0 replies; 7+ messages in thread
From: grhoten at jtcsv dot com @ 2008-08-06 17:08 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug c/20410] Add support for UTF-16 string syntax to C and C++
       [not found] <bug-20410-6770@http.gcc.gnu.org/bugzilla/>
@ 2006-05-24 21:45 ` grhoten at jtcsv dot com
  2008-08-06 17:08 ` grhoten at jtcsv dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: grhoten at jtcsv dot com @ 2006-05-24 21:45 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-08-10 16:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-10 18:09 [Bug c/20410] New: Add support for UTF-16 string syntax to C and C++ grhoten at jtcsv dot com
2005-03-10 18:12 ` [Bug c/20410] " pinskia at gcc dot gnu dot org
2005-03-10 18:12 ` pinskia at gcc dot gnu dot org
     [not found] <bug-20410-6770@http.gcc.gnu.org/bugzilla/>
2006-05-24 21:45 ` grhoten at jtcsv dot com
2008-08-06 17:08 ` grhoten at jtcsv dot com
2008-08-06 17:21 ` paolo dot carlini at oracle dot com
2008-08-10 16:37 ` paolo dot carlini at oracle dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).