Sven I saw the tests and they works fine.
The problem is on the field.
I have a form with javascript that gets addresses from Google Maps, then the form is submitted to my Pharo-Zinc-App.
When the form is submitted by Safari(OS X), Smalltalks receives the character with accent without encoding (no %).
Continuing with the Neuquen example, the 'accented e��� that should be %C3%A9 is received as the raw character.
With Firefox all works fine, the character is received with the correct encoding.
So the problem is related to ���decode:���
In the research I also saw that some accented characters could be received as one character encoded, for example the 'accented e��� could be also %E9.
thanks
Leo
Date: Tue, 21 Apr 2015 22:59:52 +0200From: Sven Van Caekenberghe <sven@stfx.eu>To: Pharo Development List <pharo-dev@lists.pharo.org>Subject: Re: [Pharo-dev] [Zinc, ZnPercentEncoder] problem encoding accentsMessage-ID: <D819757B-96B3-4067-AC1F-9A8AD332456E@stfx.eu>Content-Type: text/plain; charset=utf-8Leo,Are you sure you understand what percent encoding is ?Check the class comment of ZnPercentEncoding, it has links to a Wikipedia article.Did you see ZnPercentEncoderTests ?Anyway, I would think this is what you want to do:ZnPercentEncoder new encode: 'Neuqu?n, Neuqu?n Province, Argentina'. => 'Neuqu%C3%A9n%2C%20Neuqu%C3%A9n%20Province%2C%20Argentina'ZnPercentEncoder new decode: 'Neuqu%C3%A9n%2C%20Neuqu%C3%A9n%20Province%2C%20Argentina'. => 'Neuqu?n, Neuqu?n Province, Argentina'Seems to work fine, no ?What problem do you have with ZnUrl ?Sven