public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/33415]  New: Can't compile .cpp file with UTF-8 BOM.
@ 2007-09-13 10:04 huzheng_001 at 163 dot com
  2007-09-14  4:12 ` [Bug preprocessor/33415] " bangerth at dealii dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: huzheng_001 at 163 dot com @ 2007-09-13 10:04 UTC (permalink / raw)
  To: gcc-bugs

As I need to port my project to vs2005, and the source code contain some UTF-8
string which is not suitable to represent by escaping, I have to add UTF-8 BOM
to make vs2005 recognize it. But after I added the UTF-8 BOM, gcc can't compile
it anymore, even using -finput-charset=UTF-8, it still say error about \357
\273 \277.
Can you fix this problem?

escaping is troublesome as too many of them and make the source code
unreadable.
vs2005 surely need UTF-8 BOM.
While gcc can't accept UTF-8 BOM presently.

Thank you!


-- 
           Summary: Can't compile .cpp file with UTF-8 BOM.
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: huzheng_001 at 163 dot com


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


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

end of thread, other threads:[~2013-03-25 14:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-33415-4@http.gcc.gnu.org/bugzilla/>
2013-03-25  5:03 ` [Bug preprocessor/33415] Can't compile .cpp file with UTF-8 BOM chalakella at yahoo dot com
2013-03-25 13:50 ` bangerth at gmail dot com
2013-03-25 14:15 ` redi at gcc dot gnu.org
2007-09-13 10:04 [Bug c++/33415] New: " huzheng_001 at 163 dot com
2007-09-14  4:12 ` [Bug preprocessor/33415] " bangerth at dealii dot org
2007-09-14  9:28 ` pinskia at gcc dot gnu dot org
2008-04-16 20:38 ` tromey at gcc dot gnu dot org
2008-04-16 21:30 ` tromey at gcc dot gnu dot org
2008-04-21 14:03 ` tromey at gcc dot gnu dot org
2008-04-21 14:03 ` tromey at gcc dot gnu dot org
2009-06-14 23:03 ` jsm28 at gcc dot gnu dot org

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