I followed the sample from here to compress my page:
http://www.codeproject.com/KB/aspnet/Aspx_Compression.aspx
But the result I get is a page full of odd characters:
���I�%&/m�{J�J��t��
$ؐ@�������iG#)�*��eVe]f@�흼��{����{����;�N'
Not sure what's wrong with that code?
I tried the code both in Page_Load and Page_Render events.
Any idea?
Thanks,
Update: just an update; my code was wrong! debugged it with FireBug/Net tab and it was revealed that a wrong Header was added.