Copy link to clipboard
Copied
Hi,
My bourbon compiled scss file for dreamweaver cc 2017 contains the following:
$body-font-family: 'Gotham', 'Helvetica Neue', 'Helvetica', "PingFang TC", '微軟正黑體', "Microsoft JhengHei", "Arial Unicode MS", sans-serif;
However it renders the following error:
Error: Invalid CP950 character "\xE5"
on line 71 of C:/z2016/UniServerZ/www/ml/scss/_settings.scss
from line 6 of C:\z2016\UniServerZ\www\ml\scss\main.scss
when I remove the Chinese Characters it works.
I have tried putting the following @charset "utf-8"; at the top of my scss file (+ @charset "UTF-8";) however this makes no difference:
@charset "utf-8";
@Import 'bourbon/bourbon';
@Import 'settings';
I have read here:
Invalid US-ASCII character "\xE2" · Issue #270 · csswizardry/inuit.css · GitHub
config.rb: Encoding.default_external = "utf-8"
However - which dreamweaver config.rb file should I edit - as that are many:
The compiler should have to look at only one config.rb file which is placed in the root directory of your site.
At the top of the config.rb file you could try to put
Encoding.default_external = "utf-8"
If that fails, try using Prepros. If you don't get the error then there is a problem with Dreamweaver and it should be reported as per
Copy link to clipboard
Copied
Just want to let you know that your issues has been viewed by I don't have a solution.
I wonder if stackoverflow.com would be a good place for you to post this issue.
Copy link to clipboard
Copied
The compiler should have to look at only one config.rb file which is placed in the root directory of your site.
At the top of the config.rb file you could try to put
Encoding.default_external = "utf-8"
If that fails, try using Prepros. If you don't get the error then there is a problem with Dreamweaver and it should be reported as per
Copy link to clipboard
Copied
Hi Ben + Rob,
Thanks for the advice.
If I switch to Compass then that gives me a config.rb file that I can add the UTF-8 in and its working.
However - I don't see that configuration option with bourbon. It doesn't create a config.rb file.
If I try tcreating a config.rb file and using bourbon it seems to make no difference:
https://gist.github.com/bcinarli/5618295
- so I'll submit a feature/bug request.
Thanks,
Robert