-
-
Notifications
You must be signed in to change notification settings - Fork 608
utf-8 characters support? #317
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
Comments
font-family:Microsoft Yahei |
Please support non-ascii characters in css-loader 👍 |
For me, this problem seems hard to solve at a first glance as unicode escaping done by postcss module. Until proper solution applied, I would use interim solution by using hacky loader which unescape unicode. You can place "font-family-unescape-loader" right before "css-loader" then the loader will change font names of font-family config. |
WIP |
oh, two problems:
First try to fix in |
/cc @michael-ciniawsky we can marked this as bug, i try to resolve this in near future, but very little time i have 😭 |
Close in favor #578 |
I try to use css-loader to load this file
but get this
It looks like the font name is transformed into something else.
follow the way i found
stringfyValues
which willstringify
the utf-8 character...https://github.com/css-modules/css-selector-tokenizer/blob/master/lib/stringifyValues.js
what the declaration value is stringified for? Is there any way to use non ascii font name with css-loader?
The text was updated successfully, but these errors were encountered: