in reply to encoding from Unicode to GB

You might be interested in looking at:

Disclaimer: I have no practical experience in doing these conversions, I just searched for tools.

Christian Lemburg
Brainbench MVP for Perl
http://www.brainbench.com