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

Letters are missing, when use final HTML compression #52

Closed
kapagatavot opened this issue Jan 13, 2015 · 4 comments
Closed

Letters are missing, when use final HTML compression #52

kapagatavot opened this issue Jan 13, 2015 · 4 comments
Assignees
Milestone

Comments

@kapagatavot
Copy link

When enable "Yes, compress (remove extra whitespace) in the final HTML code too." some Russian letters (like "Р") are missing. Please fix it.

html compression

@jaswrks
Copy link

jaswrks commented Jan 13, 2015

This could be caused by CSS or JavaScript not written with UTF-8 encoding. The HTML Compressor forces a CSS charset of UTF-8. Do you have a link to a page where this occurs so we can verify that?

@kapagatavot
Copy link
Author

Hello. Here is site http://kapagatavot.lv/ with HTML Compression enabled (with - No, do not compress the final HTML code.). All css and js looks great. But, when I switch compression to "Yes, compress (remove extra whitespace) in the final HTML code too." change letter "Р" (russian letter) to "�" - here is cache copy https://www.dropbox.com/s/35k6au52brt3gsc/quick-cache-http.zip?dl=0

If you need live link i can setup site on subdomen.

@jaswrks jaswrks self-assigned this Aug 18, 2015
jaswrks pushed a commit that referenced this issue Aug 18, 2015
@jaswrks jaswrks closed this as completed Aug 18, 2015
@jaswrks
Copy link

jaswrks commented Aug 18, 2015

Next Release Changelog:

  • Bug Fix: The HTML Compressor now strips UTF-8 Byte Order Markers (BOMs) from CSS files generated by preprocessors such as Sass. Files consolidated by the HTML Compressor include an @charset rule already, making a BOM unnecessary. In fact, if BOMs are not stripped, some browsers will choke on portions of a consolidated CSS file, because a BOM could potentially appear in the middle of the file; i.e., at the wrong place.

    Symptoms included: mysterious missing styles in portions of the site, fonts not loading at all times, or font-based icons (e.g., FontAwesome) to render mystery glyphs instead of the icons.

@raamdev raamdev added this to the Next Release milestone Aug 18, 2015
@raamdev
Copy link
Contributor

raamdev commented Aug 21, 2015

ZenCache Pro v150821 has been released and includes changes from this GitHub Issue.

See the ZenCache Pro v150821 announcement for further details.


This issue will now be locked to further updates. If you have something to add related to this GitHub Issue, please open a new GitHub Issue and reference this one (#52).

@wpsharks wpsharks locked and limited conversation to collaborators Aug 21, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants