madskristensen / BundlerMinifier

Visual Studio extension
Other
616 stars 172 forks source link

Wrong unicode character on minifying #120

Open ghost opened 8 years ago

ghost commented 8 years ago

Installed product versions

The character in css file '\e80d'; is being replace by '?' on minification

Steps to recreate

  1. add {content: '\e80d' } to existing css file
  2. minify it

    Current behavior

replace by '?'

Expected behavior

should be same character

madskristensen commented 8 years ago

Please open this bug on the NUglify issue tracker

/cc @xoofx I can repro this

xoofx commented 8 years ago

afaik, the character is replaced by its UTF8 encoded equivalent, so it should be the same character but encoded differently. The file on the disk must be viewed as an UTF8 file (though this particular character has no visual meaning, hence the ?)

mbp commented 7 years ago

I opened a bug on NUglify: https://github.com/xoofx/NUglify/issues/28

This issue is also the same as #270