correct the return charset