Fixed handling UTF-16 byte order.
Merge pull request #406 from TsudaKageyu/utf16-byteorder

Fixed handling UTF-16 byte order.