This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/38411] [4.4 Regression] Revision 142439 caused 22_locale/locale/cons/7.cc execution test
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Dec 2008 09:48:11 -0000
- Subject: [Bug libstdc++/38411] [4.4 Regression] Revision 142439 caused 22_locale/locale/cons/7.cc execution test
- References: <bug-38411-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from jakub at gcc dot gnu dot org 2008-12-05 09:48 -------
Well, if you take first byte from a multibyte sequence, then it is IMNSHO
something that should be solved for 4.4 too. For say ru_RU.UTF-8 that means
you emit invalid UTF-8 if you separate digits with say '\xc2',
"\x33\xc2\x33\x33\x33" is invalid UTF-8.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38411