This is the mail archive of the
rhug-rhats@sources.redhat.com
mailing list for the RHUG project.
Re: property files and character encodings
- To: green at cygnus dot com
- Subject: Re: property files and character encodings
- From: Tom Tromey <tromey at redhat dot com>
- Date: 10 Sep 2001 20:40:38 -0600
- Cc: java at gcc dot gnu dot org, rhug-rhats at sources dot redhat dot com
- References: <200109100509.WAA10075@fencer.cygnus.com>
- Reply-To: tromey at redhat dot com
>>>>> "Anthony" == Anthony Green <green@redhat.com> writes:
Anthony> {http\u003a//xml.apache.org/xslt}indent-amount=0
Anthony> Note the escape sequence for `:'.
Anthony> The program then tries to search this resource bundle for
Anthony> "{http://xml.apache.org/xslt}content-handler" and doesn't
Anthony> find a match. The problem is that \u003a isn't being
Anthony> converted into `:' when read from a property file. I don't
Anthony> know what the right solution is. Advice welcome...
This is a bug in java.util.Properties.load(). I'm testing a fix.
I'll check it in if it passes my tests.
Thanks,
Tom