A Big5/GBK <-> UTF-8 translating layer in terminal