-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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
Weird characters (5.4.1, Edge, Windows) #17611
Comments
Hi! Thanks for being part of the Font Awesome Community. I think that this issue is generated by the preprocessor or uglifier that your application is using. Maybe an old version of Sass? This has been fixed on our side: The following content taken from your attachment is not correct: .fa-home:before{content:""} You should see this: .fa-home:before {content:"\f015";} Ref: https://github.com/FortAwesome/Font-Awesome/blob/5.15.2/css/fontawesome.css#L2190-L2191 Please make sure that your front-end module bundler produces a correct CSS Closing here, but feel free to comment Ref: |
Considering it doesn't get recompiled or redeployed between working/not working what other options are there, bad network? |
Without a reproducible test case it is hard to debug or help Please make sure that the stylesheet served by your web application contains properly escaped unicode points ( |
Just to confirm, that this happens on Chrome (versions within last half year) and Windows 10. I'm almost sure it is chromium problem. Unfortunately the occurence is random and we have no repro. From the occurences we can cocnlude, it is not prolem of minification (happens on non-minified CSS as well, it is not problem of web server. It looks like the css is cached in some preprocessed state, and after some time some "metadata" get lost so only F5 helps. |
It also happens on Mac, I am trying to fix it by upgrade Sass lib. |
There are several reasons for this issue, so maybe the output is the same, but the reason is different The problem is in the combination of FA + New Dart Sass / Ruby Sass libraries. A breaking change introduced in Dart Sass 1.10.4->1.11.0 and Ruby Sass 3.6.0.>3.7.0, does not allow our escaping function to keep working anymore, anyway... If your output css looks like
Ref: #17644 sass/dart-sass#427 sass/ruby-sass#90 #14660 (comment) Since there are too many issues open about the same problem, let's lock here and use #17644 |
Describe the bug
Icons are rendering as strange characters. Related issues: #14660 #10842
Examining previous bug reports, it does not appear that there is an official workaround from Font Awesome.
To Reproduce
Seems to happen randomly across all of our sites. Occurs locally, in our beta build, and in production.
Unable to offer a reproducible scenario. No console errors on the browser.
Expected behavior
The icons to render appropriately.
Screenshots
Attached a screen shot. Also attached .txt file with relevant compiled css. Unsure of how to upload the compiled css file.
FA-compiled-css-hieroglyphics.txt
Version and implementation
Version: Font Awesome 5 Pro 5.4.1
Browser and version: Edge 88, Windows 10 OS
Bug report checklist
The text was updated successfully, but these errors were encountered: