BlessCSS / bless

CSS Post-Processor
blesscss.com
MIT License
282 stars 60 forks source link

@charset needed on each file #86

Open benlwilliams opened 8 years ago

benlwilliams commented 8 years ago

When bless splits up the file, the @charset does not get duplicated on the new file. This can be problematic when used in an HTML page that does not have the same character encoding. I can fix it by manually adding it, but it messes up my automation scripts (using gulp-bless). Any suggested solution for adding @charset at the beginning of each split file?

mtscout6 commented 8 years ago

I'm not personally familiar with this problem, though we are open to pull requests. This sounds like a reasonable request.

paulyoung commented 8 years ago

@benlwilliams Thanks for reporting this. It does seem like something that should be supported.

I'm curious if you ran into #72 along the way.

benlwilliams commented 8 years ago

I have not run into issue #72. In fact I verified that the "blessed" file did indeed have the original @charset "UTF-8" at the beginning of the file and has no issues from what I see.