Hi all, I've checked in the following fix to URI unicode quoting issues. See gnu/testlet/java/net/URI/UnicodeURI.java in mauve for an example.
cheers, dalibor topic 2006-03-06 Dalibor Topic <[EMAIL PROTECTED]> * libraries/javalib/external/classpath/java/net/URI.java(quote): Pass Unicode characters outside the basic plane through.
Index: java/net/URI.java =================================================================== RCS file: /sources/classpath/classpath/java/net/URI.java,v retrieving revision 1.17 diff -u -r1.17 URI.java --- java/net/URI.java 31 Jan 2006 21:59:15 -0000 1.17 +++ java/net/URI.java 6 Mar 2006 01:22:17 -0000 @@ -487,16 +487,14 @@ for (int i = 0; i < str.length(); i++) { char c = str.charAt(i); - if (legalCharacters.indexOf(c) == -1) + if ((legalCharacters.indexOf(c) == -1) + && (c <= 127)) { - if (c <= 127) - { - sb.append('%'); - sb.append(HEX.charAt(c / 16)); - sb.append(HEX.charAt(c % 16)); - } + sb.append('%'); + sb.append(HEX.charAt(c / 16)); + sb.append(HEX.charAt(c % 16)); } - else + else sb.append(c); } return sb.toString();