> On 7 Dec 2017, at 18:00, Sean P. DeNigris <s...@clipperadams.com> wrote:
> 
> Why not:
> 'https://en.wiktionary.org/wiki/prĂȘt#French' asUrl  =>
> https://en.wiktionary.org/wiki/pr%C3%AAt#French
> ?

#asUrl invokes the URL parser that takes the EXTERNAL string representation of 
a URL as input. It stays strict to the specification and as such does not allow 
non-encoded non-ascii characters.

If you construct a URL from INTERNAL parts, that's different.

It would probably be possible to write a more lenient parser as opposed to a 
strict one. I have not yet given that idea much thought.

> -----
> Cheers,
> Sean
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
> 


Reply via email to