fralau / mkdocs-macros-plugin

Create richer and more beautiful pages in MkDocs, by using variables and calls to macros in the markdown code.
https://mkdocs-macros-plugin.readthedocs.io
Other
318 stars 50 forks source link

Fix encoding issue for other characters set #228

Closed caomingpei closed 2 months ago

caomingpei commented 3 months ago

Fix: https://github.com/fralau/mkdocs-macros-plugin/issues/227

This commit is to set the encoding when open a file. It's helpful for other characters set users because the file in other characters set device may be encoded by other special set.