Folder/filename changes
Now I see files with non alphabet characters in file/path are converted. It gave me 2 problems.
- Sometimes path became too long so makedir failed
- Converted form is not predictable, thus it's hard to guess original form. Most problematic cases : Chinese, Japanese, Korean.
Have you tried any previous versions? Did those have issues with those languages as well?
Any updates on this?
Those problems were 1 : Windows max path length problem.. (260 characters) 2 : unidecode changes all non asii in the given string to asii.. it's the feature not a bug. but it bugs me. :$
Any suggestions for the second one? In addition to using unidecode I am actually also removing characters that windows doesn't allow. I tried another library but it didn't work very well.
Encoding in python2 is too complicated, but there's no python3 sdk. :no_entry_sign:
On windows, just using nm.decode('utf-8') creates all files and directories successfully, when I deleted all warnings & exits on errs. Need to use encode('utf-8') to use api though.
Sooooo, I just realized the reason I was using unidecode is pretty much unnecessary now. I will remove the dependency.