This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/67224] New: UTF-8 support for identifier names in GCC
- From: "ejolson at unr dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 14 Aug 2015 22:36:58 +0000
- Subject: [Bug c/67224] New: UTF-8 support for identifier names in GCC
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67224
Bug ID: 67224
Summary: UTF-8 support for identifier names in GCC
Product: gcc
Version: 5.2.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: ejolson at unr dot edu
Target Milestone: ---
Created attachment 36187
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36187&action=edit
One line patch to add C99 UTF-8 support in identifiers to gcc
In response to FAQ
> What is the status of adding the UTF-8 support for identifier names in GCC?
and the request
> Support for actual UTF-8 in identifiers is still pending (please contribute!)
my observation is that UTF-8 in identifiers is easy to add to gcc by changing
one line in the cpp preprocessor, provided a recent version of iconv is
installed on the system. The patch is attached and has been tested for about 6
months. More information about this patch as well as unrelated information
about getting cilkrts to work on ARM is available at
https://www.raspberrypi.org/forums/viewtopic.php?p=802657