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

wikmd on Windows: Bug when converting markdown in internal editor #40

Open
domasofan opened this issue Apr 22, 2022 · 2 comments
Open

Comments

@domasofan
Copy link

Hi,

It seems there is an issue when converting written markdown in the internal editor.
Tested on a German/European Windows version.
It seems it saved the md file as ANSI/ISO-8859-1 instead of UTF-8.
So Pandoc seems to complain about that:

INFO:wiki:Saving >>> 'Test' ...
INFO:wiki:Converting to HTML with pandoc >>> 'wiki\Test.md' ...
INFO:wiki:New git commit >>> Add page 'Test' on 2022-04-23 01:48:26.530440
INFO:wiki:Pandoc died with exitcode "92" during conversion: b'UTF-8 decoding error in wiki\Test.md at byte offset 31 (f6).\r\nThe input must be a UTF-8 encoded text.\r\n'

@Linbreux
Copy link
Owner

I'll try to solve this at the end of the week. The encoding does sometimes a little weird... can you give a little more detail? Do you use docker, a virtualenv or native?

@Mik3Rizzo
Copy link
Contributor

@domasofan Please, try my fork and tell me if it fixes your problem.

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

3 participants