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

Uninformative encoding message #11

Open
fginter opened this issue Oct 10, 2014 · 0 comments
Open

Uninformative encoding message #11

fginter opened this issue Oct 10, 2014 · 0 comments

Comments

@fginter
Copy link
Member

fginter commented Oct 10, 2014

We should strive to give a more informative message regarding incorrect input encoding. Minimally, we should point the user to the fileand recode utilities. We could also consider allowing them to specify the input encoding as in ./parser_wrapper.sh -e latin1 and pass that to the input sanitizer script.

I would not attempt to autodetect the encoding, though. The libraries needed for that don't seem to be available by default:

http://stackoverflow.com/questions/436220/python-is-there-a-way-to-determine-the-encoding-of-text-file

@jmnybl @fginter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant