Comments (7)
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.
from freshman21.
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.
- On Mac, jekyll build just fine and css file can be converted, blog looks good, all things well.
- On Windows 10, conversion error appeared, just like my pull request, after add "@charset "utf-8"; " in every scss file, then things can be well.
This is what I can get.
Thanks for your freshman21, I really like this jekyll theme.
from freshman21.
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.
from freshman21.
Hi @Richeir,
Thank you for your help.
Cause of the error is a UTF-8 character "\xE3" in _layout.scss
(line 324 and 329) cannot be shown correctly on Some OS with default GBK character encodings.
I wonder to know if add @charset "utf-8";
in _layout.scss
file will fix this bug.
from freshman21.
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
from freshman21.
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
from freshman21.
Thanks.
from freshman21.
Related Issues (20)
- Why my custom javascript of backing to top don't work? HOT 2
- How to update font size of post content? HOT 2
- How to custom navigation? HOT 2
- Add feature of search? HOT 2
- How to custom 404 page? HOT 2
- How to update the style of markdown code highlight? HOT 4
- Why custom feature Google Analytics didn't work? HOT 2
- How to make the category case sensitive? HOT 2
- Google search didn't work properly. HOT 1
- header.html 中的 svg 标签是用来干什么的? HOT 3
- Extra slash at Recent Posts links HOT 1
- Theme feedback and suggestions HOT 1
- Different forms of website in browsers HOT 4
- Each page has a class "about" for all images HOT 1
- Unnecessary conditional operator in _includes/footer.html HOT 1
- Error deploying this theme HOT 3
- Your theme is listed in jekyllthemes.ru
- File to import not found or unreadable: base. on line 53 HOT 3
- Could not locate Gemfile HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freshman21.