Bug report?

On 11/21/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
in 2.0 we have a cookie unit test failure (some utf8 chars are encoded that
generates a different string then the test says it has to be)

This should be returned:

test+%C3%A4%C3%B6%C3%BC%C3%9F%C3%A9%C3%A8%C3%AA


but this gets returned:
test+%C3%AF%C2%BF%C2%BD%C3%AF%C2%BF%C2%BD%C3%AF%C2%BF%C2%BD%C3%AF%C2%BF%C2%BD%C3%AF%C2%BF%C2%BD%C3%AF%C2%BF%C2%BD%C3%AF%C2%BF%C2%BD

Because URLEncoder.encode("test �������", UTF8) does return
that.

Also what is this change? Shouldn't this be backported to 1.3? If cookies
has to be ascii....

johan


Reply via email to