Support utf16 encoding