- edited description
Unicode filename throws IOError
Issue #10
new
If the filename for the ASE includes unicode characters, it causes SwIm to throw an IOError and fail. Just ran into this with ArtSmart and fixed it by wrapping my filename with unicode(filename,'utf-8') within the open call (or prior to to open call).
- f = open(filename, "rb")
+ f = open(unicode(filename,'utf-8'), "rb")
Steps to Reproduce:
-
Open Character Map in Windows
-
Click a bunch of random accented unicode characters
-
Click Copy
-
Create a new folder, paste the crazy unicode as the folder name
-
Put an ASE in the folder
-
File-Open, that ASE
Comments (6)
-
reporter -
reporter - edited description
-
reporter - edited description
-
reporter - edited description
-
reporter - edited description
-
reporter - edited description
- Log in to comment