def big52gbk(chars):
out = '<STR_LIT>'<EOL>for char in chars:<EOL><INDENT>if char in _cd.BIG5:<EOL><INDENT>out += _cd.GBK[_cd.BIG5.index(char)]<EOL><DEDENT>else:<EOL><INDENT>out += char<EOL><DEDENT><DEDENT>return out<EOL>
Convert from long chars to short chars.