0
i have a link with uni language , and it is give error .. can anyone help !!
i want to make a code to import links from xls file and a part of link is in arabic language "www.site.com/عربي" so win i want to deal with it this error come : unicodeencodererror: 'ascii' codec can't encode characters in position : ordinal not in range
1 Antwort
0
Not sure about you're code but try to not use str to convert from unicode to encoded text/bytes.
https://docs.python.org/2.7/howto/unicode.html
if you read the above, the first error covered there is the one you want.