#17 fix incorrect conversion between Unicode and Single-Byte Encoding