Closed victorjanin closed 5 years ago
This is not an issue with Slate but rather Sass. This thread should hopefully help.
@justinmetros Thx for pointing that out, I experimented with that with no luck.
I used content: "添加至愿望单"; with Timber, and I tried it on other projects and sass compiles it fine. When using it in Slate, I get no error in the terminal when compiling it, but I get a "net::ERR_ABORTED 422" error on my console and the layout.theme.styleLiquid.scss.css file only contains "Failed to compile SCSS file"
Even adding the chinese in a variable doesn't work like $isAddedChinese: " "添加至愿望单"'
Or even commented out // content: "添加至愿望单";
I made it work by putting the chinese characters in the theme.scss and not the theme.scss.liquid
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Problem
Sass not compiling when using Chinese Characters
Replication steps
With latin characters text is works
With Chinese Characters it doesn't compile the scss file.
Any ideas? Thank you! Victor