Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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.
Can you post some sample code, sample strings, and resulting output/any exceptions so we can take a look? Thanks in advance!
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!