Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File paths and column names containing non-ASCII characters are mishandled #7

Open
jpgill86 opened this issue Jun 27, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@jpgill86
Copy link
Member

axographio is unable to open file paths containing non-ASCII characters. Instead, a UnicodeEncodeError exception (Python 3) or an IOError exception (Python 2) is raised.

Some files that contain only ASCII characters in the path but contain non-ASCII column names cannot be opened and may raise a UnicodeDecodeError exception (Python 3). Others can be opened, but their column names are decoded incorrectly.

These problems have been present since axographio's initial release, but the explicit instruction to Cython for encoding strings in ASCII introduced in commit 77e0ed3 to provide Python 3 compatibility didn't help.

These files can be used for testing: test-non-ascii.zip

@jpgill86 jpgill86 added the bug Something isn't working label Jun 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant