Fixed bug: Encoding of multibyte string is not converted properly