GumbyFramework/Gumby

Icons isn't working

Closed this issue · 7 comments

x88 commented
  1. I had download Gumby master snapshot from this repo.
  2. Opened ui.html. All icons are ok.
  3. I run command compass compile
  4. F5 press, and see result:

sdfsdfsdfsdf

How to solve encoding trouble?

x88 commented

Hm... For solving I should manually change in gumby.css
@charset "IBM866";
to
@charset "UTF-8";

x88 commented

Adding into config.rb this
Encoding.default_external = "utf-8"
helped and fixed incorrect compiling.

Did adding that fix it? Character encoding has been an issue with the fonts for several other users as well. All the files should be UTF-8. Any other file encoding type will give you the issues you posted above.

x88 commented

Yep, it fix. On windows compass compile ignoring @charset instructions.

It's important to check what your web server outputs as the expected character set as well. Whatever these are encoded as should be what the browser outputs. Defaulting to UTF-8 in all cases is the safest.

h5bp has good defaults for apache and nginx to support UTF8.

x88 commented

@fideloper, I had compiled sass from windows console. But compass has been ignored @charset instructions and used 866 locale.

For what it's worth, I found that deleting the comments at the top of gumby.scss fixed the encoding issue I had on Windows (so the first time is @charset "UTF-8"). Although I'll use the forcing UTF-8 from now on! Thanks x88.