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
{{ message }}
Repository navigation
Writing doesn't work for umlauts (likely UTF-8 formatting problem) #403
Have not manually reproduced, but a change similar to what has been done in #395 (to fix #394, parsing encoding) would be reasonable to be implemented also for the writer. In short, the user should be able to pass in an encoding.
Would you be willing to contribute a fix?
Note: Bibtex does not actually support non-ascii characters, and using the LatexEncodingMiddleware may fix large parts of this problem. However, newer replacements of bibtex support utf-8, thus the issue clearly still remains valid and to be implemented.
Activity
claell commentedon Sep 20, 2023
The proposed workaround seems to work for now. But it's a bit concerning to see that the library doesn't handle such simple cases of encoding well.
MiWeiss commentedon Sep 20, 2023
Have not manually reproduced, but a change similar to what has been done in #395 (to fix #394, parsing encoding) would be reasonable to be implemented also for the writer. In short, the user should be able to pass in an encoding.
Would you be willing to contribute a fix?
Note: Bibtex does not actually support non-ascii characters, and using the
LatexEncodingMiddlewaremay fix large parts of this problem. However, newer replacements of bibtex support utf-8, thus the issue clearly still remains valid and to be implemented.Add encoding to file writing function
claell commentedon Sep 21, 2023
I started a PR in #405.
MiWeiss commentedon Nov 2, 2023
PR #405 is looking for someone to take over. Volunteers, come forward 🚀 ;-)