Closed Richeir closed 7 years ago
Hi @Richeir ,
Thank you for your feedback, please try only add "@charset "utf-8"; " on _layout.scss
.
If you can build it successfully, please close the pull request and submit a new one.
Hello @yulijia I should be apologized to you. This is a confused situation.
I fork the freshman21 project and just run without change anything, but the css file can not be converted, so the blog have no css file and looks strange.
I clone the freshman21 project into my computers.
This is what I can get. Thanks for your freshman21, I really like this jekyll theme.
Hi, thank you.
I mean would you mind help me to test it on Windows 10, if we only add ' @charset "utf-8"; ' in _layout.scss
file, could we build the blog with css correctly?
If it works, you can push a new request (only add @charset "utf-8"; to one file) and help me to fix this bug on Windows OS.
Hello @yulijia
Thanks for your reply.
jekyll 3.4.3 | Error: Invalid GBK character "\xE3" on line 324
GBK is Chinese Internal Code Specification, maybe this error only shows in OS use Chinese language.
add ' @charset "utf-8"; ' in _layout.scss file
I will make a complete test this weekends with your advice. The test will through MacOS, Windows 10 (Chinese), Windows 10 (English), Linux(Chinese), Linux(English).
Best Regards, Richeir
Hello, @yulijia
I wonder to know if add @charset "utf-8";in_layout.scss file will fix this bug.
Your advice is correct, After add @charset "utf-8"; in_layout.scss file, both MacOS and Windows build pass and run well.
I have made a pull request, please accept it.
Best Regards, Richeir
Thanks.
I clone the code and run [jekyll build], it shows