jalmenarez / minify

Automatically exported from code.google.com/p/minify
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Garbled Text (poss dup of Issue 57) #61

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Minify version: 2.1.0
PHP version:

What steps will reproduce the problem?
1. http://gametabs.com/min/?f=js/jquery.js
2.
3.

Expected output:
minified javascript file.

Actual output:
garbled text.
(�}�V�ض��: �B ɶ�D�%!�.)

Did you run the unit tests? Did any FAIL?
all tests passed.

Please provide any additional information below.
I'm thinking it might be a character encoding problem or something similar,
but not sure.

Original issue reported on code.google.com by gee...@gmail.com on 10 Oct 2008 at 5:55

GoogleCodeExporter commented 9 years ago
PHP Versions 5.2.5

Original comment by gee...@gmail.com on 10 Oct 2008 at 5:56

GoogleCodeExporter commented 9 years ago
Can you try this workaround:
http://code.google.com/p/minify/issues/detail?id=57#c1

I think you're getting twice-encoded output from Apache mod_deflate/mod_gzip/ 
or 
PHP's zlib.output_compression.

Original comment by mrclay....@gmail.com on 10 Oct 2008 at 10:16

GoogleCodeExporter commented 9 years ago
that makes a lot of sense. i'll have to turn off minfy's compression and see 
what
happens.

Original comment by gee...@gmail.com on 11 Oct 2008 at 1:06

GoogleCodeExporter commented 9 years ago

Original comment by mrclay....@gmail.com on 20 Oct 2008 at 6:37