You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: