[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PATCH: broken handling of alternate separators in java
From: |
Simon Josefsson |
Subject: |
Re: PATCH: broken handling of alternate separators in java |
Date: |
Wed, 15 Nov 2006 15:33:19 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.90 (gnu/linux) |
"Stephane Mikaty" <address@hidden> writes:
> Test case included. Please review and let me know if you need anything else.
>
> diff -Naur old/java/gnu/inet/encoding/IDNA.java
> new/java/gnu/inet/encoding/IDNA.java
> --- old/java/gnu/inet/encoding/IDNA.java 2005-05-26 16:39:52.000000000
> +0200
> +++ new/java/gnu/inet/encoding/IDNA.java 2006-11-14 10:11:57.795375000
> +0100
> @@ -46,7 +46,7 @@
> char c = input.charAt(i);
> if (c == '.' || c == '\u3002' || c == '\uff0e' || c == '\uff61') {
> o.append(toASCII(h.toString(), false, true));
> - o.append(c);
> + o.append('.');
> h = new StringBuffer();
> } else {
> h.append(c);
Hello Stephane, and thanks for the patch. I have installed it in
libidn's CVS repository.
Regards,
Simon