public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libgcj/4216: Need support for character encoding aliases
@ 2001-09-03 19:26 Tom Tromey
0 siblings, 0 replies; 5+ messages in thread
From: Tom Tromey @ 2001-09-03 19:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR libgcj/4216; it has been noted by GNATS.
From: Tom Tromey <tromey@redhat.com>
To: green@redhat.com
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: libgcj/4216: Need support for character encoding aliases
Date: 03 Sep 2001 20:30:30 -0600
>>>>> "Anthony" == green <green@redhat.com> writes:
Anthony> The runtime needs to have the notion of character encoding
Anthony> aliases... like ISO-8859-1 == 8859_1.
It already does have this -- see gnu/gcj/convert/IOConverter.java.
In fact this precise alias is already there.
In theory "ISO-8859-1" should be mapped to lower case and then looked up
in the hash table.
Why doesn't this work for you?
Tom
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: libgcj/4216: Need support for character encoding aliases
@ 2001-09-16 15:25 tromey
0 siblings, 0 replies; 5+ messages in thread
From: tromey @ 2001-09-16 15:25 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, green, java-prs, nobody, tromey
Synopsis: Need support for character encoding aliases
Responsible-Changed-From-To: unassigned->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Sun Sep 16 15:25:27 2001
Responsible-Changed-Why:
I'm handling this PR.
State-Changed-From-To: open->closed
State-Changed-By: tromey
State-Changed-When: Sun Sep 16 15:25:27 2001
State-Changed-Why:
The patch went in and this is fixed.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4216&database=gcc
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: libgcj/4216: Need support for character encoding aliases
@ 2001-09-03 21:56 Anthony Green
0 siblings, 0 replies; 5+ messages in thread
From: Anthony Green @ 2001-09-03 21:56 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR libgcj/4216; it has been noted by GNATS.
From: "Anthony Green" <green@redhat.com>
To: <tromey@redhat.com>
Cc: <gcc-gnats@gcc.gnu.org>
Subject: Re: libgcj/4216: Need support for character encoding aliases
Date: Mon, 3 Sep 2001 21:59:14 -0700
Tom wrote:
> It already does have this -- see gnu/gcj/convert/IOConverter.java.
> In fact this precise alias is already there.
> In theory "ISO-8859-1" should be mapped to lower case and then looked up
> in the hash table.
> Why doesn't this work for you?
Ok - I've figured this out. I'm running apache Tomcat, which uses the Xerces
XML parser. The XML documents say they're in "ISO-8859-1". Xerces then
converts this MIME name into something it thinks is supported by Java - in
this case "ISO8859_1". We don't understand ISO8859_1, and throw an
UnsupportedEncodingException. Xerces catches this, and rethrows it with the
original name (ISO-8859-1). I was seeing the results of the second throw :-)
So, we just need to ad ISO8859_1 to IOConverter.java. I'll submit a patch.
AG
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: libgcj/4216: Need support for character encoding aliases
@ 2001-09-03 19:26 Anthony Green
0 siblings, 0 replies; 5+ messages in thread
From: Anthony Green @ 2001-09-03 19:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR libgcj/4216; it has been noted by GNATS.
From: "Anthony Green" <green@redhat.com>
To: <tromey@redhat.com>
Cc: <gcc-gnats@gcc.gnu.org>
Subject: Re: libgcj/4216: Need support for character encoding aliases
Date: Mon, 3 Sep 2001 19:25:59 -0700
Tom wrote:
> It already does have this -- see gnu/gcj/convert/IOConverter.java.
> In fact this precise alias is already there.
> In theory "ISO-8859-1" should be mapped to lower case and then looked up
> in the hash table.
> Why doesn't this work for you?
Hrm... I'll look into this... frustrating....
Thanks for the pointer,
AG
^ permalink raw reply [flat|nested] 5+ messages in thread
* libgcj/4216: Need support for character encoding aliases
@ 2001-09-03 18:06 green
0 siblings, 0 replies; 5+ messages in thread
From: green @ 2001-09-03 18:06 UTC (permalink / raw)
To: gcc-gnats
>Number: 4216
>Category: libgcj
>Synopsis: Need support for character encoding aliases
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 03 18:06:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: green@redhat.com
>Release: trunk
>Organization:
>Environment:
>Description:
The runtime needs to have the notion of character encoding aliases... like ISO-8859-1 == 8859_1.
tomcat reads many xml files with assert an "ISO-8859-1" encoding, and the only work-around now is to hack this alias into libgcj.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-09-16 15:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-03 19:26 libgcj/4216: Need support for character encoding aliases Tom Tromey
-- strict thread matches above, loose matches on Subject: below --
2001-09-16 15:25 tromey
2001-09-03 21:56 Anthony Green
2001-09-03 19:26 Anthony Green
2001-09-03 18:06 green
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).