Changing Charter Codeing in a script

Hello,

I'm trying to figure out how to change the Character code of a text file in a script. Such as the ability to render an out put to Chinese Simple (GB2312) or other language character encodes.

I believe this depends on your terminal's capabilities, your OS's language handling capabilities, and internationalization tools. Sometimes you can get away with just setting LANG="zh-big5" SYSFONT="GB2312" or something like this.