View Single Post
Old 03-01-2018, 07:35 PM   #28
Sergey Glazyrin
Junior Member
Sergey Glazyrin began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Feb 2018
Device: Nexus 9
Quote:
Originally Posted by KevinH View Post
FWIW: The proper utf-8 encoding for that character is %C2%BF

After changing that one external url, flightcrew passed with no errors.

Manually loading this url in either encoding into a browser results in page not found so the url is not currently valid anyway.
Hello Kevin
Thanks for extra information.
I get this result using python urllib.parse.quote method
And this url works fine in a browser.
https://en.wikipedia.org/wiki/Chamb%C3%A9ry

But the one you mentioned, this one: https://en.wikipedia.org/wiki/Chamb%C2%BFry
seems to me incorrect.
Quote:
In [25]: from urllib.parse import unquote

In [26]: unquote(a)
Out[26]: '¿'

In [27]: unquote('%C2%BF')
Out[27]: '¿'

In [28]: unquote('%C3%A9')
Out[28]: 'é'
Sergey Glazyrin is offline   Reply With Quote