sobchenyuk / htmlcompressor

Automatically exported from code.google.com/p/htmlcompressor
Apache License 2.0
0 stars 0 forks source link

Character ă gets outputted as �? by the compressor #64

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. type in "ă" anywhere in a html document
2. build said document
3. "�?" gets outputted instead

What is the expected output? What do you see instead?
These characters shouldn't be affected by the build script.

What version of the product are you using? On what operating system?
The latest version 1.5.2 on Windows 7 64-bit.

Please provide any additional information below.
I tried using 1.4.3 which was bundled with the HTML5 Boilerplate, got the 
issue, switched to the latest version, still a problem.
Other Romanian characters such as "șțâîȘȚÂÎ" don't cause any issue.

Is there anyone out there with a similar problem?
Thanks. 

Original issue reported on code.google.com by angrydwa...@gmail.com on 13 Dec 2011 at 6:26

GoogleCodeExporter commented 8 years ago
Command line compressor has "--charset <charset>" parameter where you can set 
the encoding. It uses UTF-8 by default. Do you know what encoding it is? Try 
"--charset ISO-8859-1"

Original comment by serg472@gmail.com on 13 Dec 2011 at 7:00

GoogleCodeExporter commented 8 years ago
Okay, apparently this isn't an issue coming from the html compressor as just 
compressing a page from the command line works perfectly and doesn't produce 
any problems. Strange. Sorry for wasting your time. :)

Original comment by angrydwa...@gmail.com on 19 Dec 2011 at 10:26

GoogleCodeExporter commented 8 years ago

Original comment by serg472@gmail.com on 7 Mar 2012 at 1:33