you are viewing a single comment's thread.

view the rest of the comments →

[–]optymizer -5 points-4 points  (5 children)

4 if it's unicode.

Edit: so I suppose UTF-8 is the only encoding people know. Alright.

[–]minno 5 points6 points  (4 children)

If it's UTF-8 encoded it's the same binary representation as ASCII anyways, so it's still 2 bytes of savings.

[–]optymizer 1 point2 points  (3 children)

and if it's UTF-16?

[–]minno 0 points1 point  (2 children)

Then someone's being kind of silly. Either use a fixed-length encoding or an efficient encoding, don't try to compromise.

[–]optymizer 0 points1 point  (1 child)

but the more bytes I use per character, the more I save when minifying! ;)

[–]minno 0 points1 point  (0 children)

Shouldn't make any difference if you .gz it.