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

Variable not support Chinese characters #166

Closed
icebilly opened this issue May 18, 2023 · 4 comments
Closed

Variable not support Chinese characters #166

icebilly opened this issue May 18, 2023 · 4 comments
Labels
external Concerns another part of the ecosystem info required Further information is requested keep in mind Interesting idea, keep in mind for the future stale No news, closing

Comments

@icebilly
Copy link

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

@github-actions
Copy link

Welcome to this project and thank you!' first issue

@fralau
Copy link
Owner

fralau commented Jul 2, 2023

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

@fralau fralau added info required Further information is requested external Concerns another part of the ecosystem labels Jul 2, 2023
@fralau fralau added the stale No news, closing label Aug 7, 2023
@icebilly
Copy link
Author

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
Copy link
Owner

fralau commented Sep 2, 2023

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

@fralau fralau added the keep in mind Interesting idea, keep in mind for the future label Nov 26, 2023
@fralau fralau closed this as completed Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external Concerns another part of the ecosystem info required Further information is requested keep in mind Interesting idea, keep in mind for the future stale No news, closing
Projects
None yet
Development

No branches or pull requests

2 participants