str = native2unicode(bytes, charset)
| Parameter | Description |
|---|---|
| bytes | a uint8 vector |
| charset | an scalar string or vector characters array. |
| Parameter | Description |
|---|---|
| str | 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: https://www.iana.org/assignments/character-sets/character-sets.xhtml
native2unicode(uint8([149 208 137 188 150 188]), 'SHIFT_JIS')
| Version | Description |
|---|---|
| 1.0.0 | initial version |