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

Accents are not correctly parsed #2

Open
ohF9anel opened this issue Sep 23, 2014 · 0 comments
Open

Accents are not correctly parsed #2

ohF9anel opened this issue Sep 23, 2014 · 0 comments

Comments

@ohF9anel
Copy link

When the input file contains accents, python will complain.
To test this create a ods file with text which contains a accented character such as café.
To solve this I added 2 lines, one wich specifies the coding (see the PEP 0263 - http://legacy.python.org/dev/peps/pep-0263/)
and an extra line with non-ascii characters which forces my editor (kate) to save this as utf-8 (and keep it that way)
#!/usr/bin/python3.4
# -*- coding: utf-8 -*-
# şişman

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

No branches or pull requests

1 participant