public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "joeclark at iastate dot edu" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug java/14687] Incorrect UTF-8 byte->String conversion Date: Sat, 26 Jun 2004 22:10:00 -0000 [thread overview] Message-ID: <20040626215658.19366.qmail@sourceware.org> (raw) In-Reply-To: <20040323044412.14687.joeclark@iastate.edu> ------- Additional Comments From joeclark at iastate dot edu 2004-06-26 21:56 ------- Okay, I've attached a java file that illustrates the bug. For me, the UTF character set does *NOT* work for *ANY* ASCII characters. Perhaps I'm entering the bytes wrong or something; if this is the case, the attached code should make my error clear. When I run this with Sun's JDK, I get the same value for all 127 values. With gcj, *every* UTF-8 conversion results in a "?" string; here's a quick snippet: b 109 --> utf ? & iso m b 110 --> utf ? & iso n b 111 --> utf ? & iso o -- What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14687
next prev parent reply other threads:[~2004-06-26 22:00 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-03-23 4:44 [Bug java/14687] New: " joeclark at iastate dot edu 2004-03-23 17:28 ` [Bug java/14687] " tromey at gcc dot gnu dot org 2004-06-26 20:39 ` pinskia at gcc dot gnu dot org 2004-06-26 22:10 ` joeclark at iastate dot edu [this message] 2004-06-27 0:43 ` [Bug libgcj/14687] [win32] " pinskia at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20040626215658.19366.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=java-prs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).