UnicodeEncodeError
Both
pybtex jlm-bibexample.aux
and
pybtex -e utf8 jlm-bibexample.aux
give
UnicodeEncodeError: 'ascii' codec can't encode character u'\u015b' in position 0: ordinal not in range(128)
The aux file is created with XeLaTeX and contains in particular
\bibcite{świdziński13:_test}{{4}{2013}{{Świdziński}}{{}}}
Bug or feature?
Best regards
Janusz
Comments (6)
-
-
Account Deleted pybtex-0.15
The database is missing some references, but it should not crash the program.
Actually I switched to biblatex/biber, but I post the requested files in hope it may help other pybtex users.
-
Thanks Janusz,
Actually you forgot to include the .bib file, but I believe this bug has been already fixed in recent versions. Could you please try pybtex-0.17 and see if it works?
-
Account Deleted Only pybtex-0.15 is available on Debian, even in testing and unstable distribution. Somebody should make a request to update it.
As I said earlier, I switched to biblatex/biber, so I have no motivation to do it myself.
-
- status: open --> closed-fixed
- Version: --> trunk
-
OK, closing this bug then.
- Log in to comment
Can you please post the full traceback and attach the whole jlm-bibexample.aux file and the .bib file you are using so I could reproduce the erorr?
Also, what version are you using? (pybtex --version)