Characters encoding | nativecharset >> |
str = native2unicode(bytes, charset) |
a uint8 vector
an scalar string or vector characters array.
an vector characters array.
native2unicode converts an uint8 vector to unicode characters.
str = native2unicode(bytes) converts an uint8 vector to unicode characters (using the native character set of the machine).
str = native2unicode(bytes, charset) converts an uint8 vector to unicode characters (character set charset instead of the native character set).
List of characters set: http://www.iana.org/assignments/character-sets/character-sets.xhtml
native2unicode(uint8([149 208 137 188 150 188]), 'SHIFT_JIS')
unicode2native, native2unicode, char.
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET