fralau/mkdocs-macros-plugin

Variable not support Chinese characters

icebilly opened this issue · 4 comments

Seems to be a charset issue.
The content in red is from a variable, it's not decode correctly.
image

Welcome to this project and thank you!' first issue

fralau commented

There is no specific handling of characters in the code mkdocs-macros. Could you describe the problem more in detail?

There is no specific handling of characters in the code mkdocs-macros. Could you describe the problem more in detail?

It's a codec issue, if I save the yml file with gbk codec, the chinese characters can be rendered correctly.
Is there any possible to add a codec option in the plugin to let the user choose which codec they want to decode.

fralau commented

I am not familiar with those issues. There is no invocation of codecs in MkDocs macros. Where should that ideally take place?