This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/14687] Incorrect UTF-8 byte->String conversion
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Mar 2004 17:28:52 -0000
- Subject: [Bug java/14687] Incorrect UTF-8 byte->String conversion
- References: <20040323044412.14687.joeclark@iastate.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From tromey at gcc dot gnu dot org 2004-03-23 17:28 -------
What is the sequence of bytes you feed in?
Our ASCII converter only handles bytes from 0x0 to 0x7f.
If you want to use bytes outside this range, you must
use the proper encoding. I suspect this is why 8859-1
works for you.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14687