Hello guys,
I am looking for a proper way to handle hebrew filenames with the Python API.
According to the documentation - Any string passed through your API should be normalized to UNICODE and encoded to UTF-8.
When using a command line with hebrew folders/filenames (Code page 862) some unexcpected things happens.
I use the following code to convert the characters from the command line to UTF-8 before passing it to the API:
normalize('NFC', string).encode('utf-8')
second parameter, string, is what I get from parsing the metadata from the DropboxClient instance.
Any ideas will be appreciated.
Thanks in advance.