Re: [Pharo-users] ZnUrls with Non-ASCII characters

2019-03-22 Thread Sean P. DeNigris
Sean P. DeNigris wrote > I ran into this issue again. I found a few other threads where this came up before over the years, but seemed unresolved. Just after I posted I found one from 2014 [1] where you shared a trick that worked! Namely, 'http://myhost/path/with/umlaut/äöü.txt' asFileReference a

Re: [Pharo-users] ZnUrls with Non-ASCII characters

2019-03-22 Thread Sean P. DeNigris
Sven Van Caekenberghe-2 wrote >> 'https://en.wiktionary.org/wiki/prêt#French' asUrl => >> https://en.wiktionary.org/wiki/pr%C3%AAt#French >> ? > > 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. I ran into th

Re: [Pharo-users] ZnUrls with Non-ASCII characters

2017-12-07 Thread Sean P. DeNigris
Sven Van Caekenberghe-2 wrote > 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. K, thanks for the explanation and assistance. - Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f131

Re: [Pharo-users] ZnUrls with Non-ASCII characters

2017-12-07 Thread Sven Van Caekenberghe
> On 7 Dec 2017, at 18:00, Sean P. DeNigris 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

Re: [Pharo-users] ZnUrls with Non-ASCII characters

2017-12-07 Thread Sean P. DeNigris
Why not: 'https://en.wiktionary.org/wiki/prêt#French' asUrl => https://en.wiktionary.org/wiki/pr%C3%AAt#French ? - Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] ZnUrls with Non-ASCII characters

2017-12-07 Thread Sven Van Caekenberghe
> On 7 Dec 2017, at 15:49, Sean P. DeNigris wrote: > > 'https://en.wiktionary.org/wiki/prêt#French' asUrl ==> > ZnCharacterEncodingError: ASCII character expected. Ideas? Non-ASCII characters are not allowed in a URL (in its external string representation, the input of the parser), they must

Re: [Pharo-users] ZnUrls with Non-ASCII characters

2017-12-07 Thread PBKResearch
Original Message- From: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org] On Behalf Of Sean P. DeNigris Sent: 07 December 2017 14:49 To: pharo-users@lists.pharo.org Subject: [Pharo-users] ZnUrls with Non-ASCII characters 'https://en.wiktionary.org/wiki/prêt#French' asUr

[Pharo-users] ZnUrls with Non-ASCII characters

2017-12-07 Thread Sean P. DeNigris
'https://en.wiktionary.org/wiki/prêt#French' asUrl ==> ZnCharacterEncodingError: ASCII character expected. Ideas? - Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html