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: tromey at redhat dot com
- Subject: Re: property files and character encodings
- From: Anthony Green <green at cygnus dot com>
- Date: Mon, 10 Sep 2001 20:03:19 -0700
- Cc: java at gcc dot gnu dot org, rhug-rhats at sources dot redhat dot com
I came up with a patch of my own. Can I just check this in?
2001-09-10 Anthony Green <green@redhat.com>
* java/util/Properties.java: Increment index while parsing \u
sequence.
Index: libjava/java/util/Properties.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/util/Properties.java,v
retrieving revision 1.9
diff -c -u -r1.9 Properties.java
--- Properties.java 2001/09/06 17:16:09 1.9
+++ Properties.java 2001/09/11 02:56:03
@@ -185,6 +185,7 @@
char uni = (char) Integer.parseInt
(line.substring(pos, pos + 4), 16);
key.append(uni);
+ pos += 4;
} // else throw exception?
break;
default:
AG