This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
Re: java/2319: invalid UTF-8 sequences should be rejected
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, java-prs at gcc dot gnu dot org, tromey at gcc dot gnu dot org, tromey at redhat dot com
- Subject: Re: java/2319: invalid UTF-8 sequences should be rejected
- From: tromey at gcc dot gnu dot org
- Date: 20 Jun 2001 16:23:10 -0000
Synopsis: invalid UTF-8 sequences should be rejected
State-Changed-From-To: analyzed->closed
State-Changed-By: tromey
State-Changed-When: Wed Jun 20 09:23:10 2001
State-Changed-Why:
I've checked in the fix.
The fix only works if the built-in UTF-8 decoder is used.
If the system decoder is used, we're at its mercy.
The glibc UTF-8 decoder (on my RH 6.2 box) does not
give an error for invalid or overlong sequences.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2319&database=gcc