cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted

Correct way to handle Hebrew filenames

New member | Level 1
New member | Level 1

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.

1 Reply 1
Highlighted

Re: Correct way to handle Hebrew filenames

Dropboxer
Dropboxer

Can you post some sample code, sample strings, and resulting output/any exceptions so we can take a look? Thanks in advance!

Polls
Do you know how to organize your files and folders?
We have created a guide on folder best practice, so you can get organized now check it out here.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?