I have a text file. It consists of many non-english character. I want to store this file as a number sequences such as ascii.
How can I represent a non-english character?
>>> str(ord('x'))
'120'
>>> str(ord('ç'))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: ord() expected a character, but string of length 2 found
>>>