davidstrauss / google-drive-recursive-ownership

Tool to recursively give away file and document ownership to another user.
MIT License
268 stars 68 forks source link

fix utf8 #1

Closed Aminadav closed 8 years ago

Aminadav commented 9 years ago

Hello. There was a with your python. when there are folder with non-english names.

This is the bug:

File "transfer.py", line 104, in process_all_files print('Folder: {} ({}, {})'.format(item['title'], current_prefix, item['id'])) UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-5: ordinal not in range(128)

I have tested it, and fixed it.

Please accept the pull request.

Aminadav commented 9 years ago

Why don't you merge this commit?

jcsahnwaldt commented 9 years ago

I had the same problem, sent a similar pull request, but this one is better. Please merge it! Thanks!

jcsahnwaldt commented 8 years ago

Thanks!