minifierbeans icon indicating copy to clipboard operation
minifierbeans copied to clipboard

Bad conversion of ANSI files

Open GoogleCodeExporter opened this issue 9 years ago • 2 comments

What steps will reproduce the problem?
1. Create project with Windows-1252 encoding
2. Write on a js file a string constant with special characters 
3. Minify it

What is the expected output? What do you see instead?
The resulting file is encoded on UTF8 and the special characters converted to 
garbage.

What version of the product are you using? On what operating system?
2.0 on Netbeans 8.0.2. Windows 7 64 bits

Please provide any additional information below.
Looks like the plugin disregards the project encoding and treats everything as 
UTF8 files

Original issue reported on code.google.com by [email protected] on 30 Dec 2014 at 6:01

GoogleCodeExporter avatar Mar 30 '16 10:03 GoogleCodeExporter

Same issue here. I use ISO-8858-1 encoding and my files are badly encoded over 
minifying.
It's completly preventing me from using the plugin. I Hope it'll get fixed.

ex:
#minify{
    content: "I don't like 'é'";
}
is minified to :
#minify{content:"I don't like 'é'"}

Original comment by [email protected] on 21 May 2015 at 3:44

GoogleCodeExporter avatar Mar 30 '16 10:03 GoogleCodeExporter

Reproducable.

Chris2011 avatar Sep 03 '20 18:09 Chris2011