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

allow unicode paths for file names #279

Open
kcrisman opened this issue Dec 3, 2014 · 3 comments
Open

allow unicode paths for file names #279

kcrisman opened this issue Dec 3, 2014 · 3 comments
Labels

Comments

@kcrisman
Copy link
Contributor

@kcrisman kcrisman commented Dec 3, 2014

From https://code.google.com/p/sagenb/issues/detail?id=82

It seems to indicate that some data files had unicode names. We should sanitize the data file names like we sanitize the user names, or we should assume that filenames are possibly unicode and change our template

@kcrisman kcrisman added the Minor label Dec 3, 2014
@kcrisman

This comment has been minimized.

Copy link
Contributor Author

@kcrisman kcrisman commented Dec 3, 2014

Could this also be happening in passwords? See https://code.google.com/p/sagenb/issues/detail?id=87

@kcrisman

This comment has been minimized.

Copy link
Contributor Author

@kcrisman kcrisman commented Dec 8, 2014

And this is apparently also a problem for path names in general! http://ask.sagemath.org/question/25157/sage-notebook-doesnt-work-solved/

@kcrisman kcrisman added Major and removed Minor labels Dec 8, 2014
@kcrisman kcrisman changed the title allow unicode names for data files allow unicode paths for file names Dec 8, 2014
@kcrisman

This comment has been minimized.

Copy link
Contributor Author

@kcrisman kcrisman commented Dec 8, 2014

Okay, at least the third issue is addressed at e.g. http://stackoverflow.com/questions/12626019/unicodedecodeerror-while-processing-filenames and http://stackoverflow.com/questions/3409381/how-to-handle-undecodable-filenames-in-python I'm not sure how easy implementing the Python 2-type byte solution is, and we aren't moving to Python 3 yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.