Форумы / Cotonti / Support / gzip on nginx - buggy?

Kilandor
#32569 13.01.2012 03:45
#32558 Eugene:

For several month time to time I was getting the same error on different sites:

- in case of switching OFF gzip - in top left corner of browser 4 digits|symbols appear (like "348a")

- in case of switching gzip ON - in attempt to edit page - browser respond about "Content Encoding Error/ The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression"

 

The 4 symbols sounds like there are some file that have a UTF BOM header This will cause the exact problem(s) (gzip on or off) of 4 characters in upper left corner. Usually its not a problem for most systems although this is known and all core cotonti files should be without it but its easy something could have slipped through with multiple developers using different tools and such. Or it could be a 3rd party plugin.

I don't know of a batch converter offhand but I think using iconv with nix* you can batch convert I seen a few guides looking around. For windows Notepad++ can convert the files, yet you can't batch convert them but you can only do it one by 1