将“gzencode()”的返回值转换为UTF-8

I need to send the gzip encoded HTML of a page via email, (don't tell me to send the HTML without compression). It doesn't work correctly because gzencode() doesn't return UTF-8 characters.

How could I convert the string that gzencode() returns, into UTF-8 string, and still be able to form the original string when I want to decode the gzip string?

I used utf8_encode() to turn it into a utf8 string, and I will use a utf8_decode() or a similar way of converting it back to its original charset (I tested it, it works)