fix multi-byte character