Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad conversion of ANSI files #8

Open
GoogleCodeExporter opened this issue Mar 30, 2016 · 2 comments
Open

Bad conversion of ANSI files #8

GoogleCodeExporter opened this issue Mar 30, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

@Chris2011
Copy link
Owner

Reproducable.

@Chris2011 Chris2011 self-assigned this Sep 3, 2020
@Chris2011 Chris2011 added the bug label Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants