<< nativecharset | Characters encoding |
bytes = unicode2native(str, charset) |
an scalar string or vector characters array.
an scalar string or vector characters array.
a uint8 vector
unicode2native converts unicode characters to an numeric array.
bytes = unicode2native(str) converts unicode characters to an numeric array (the native character set of the machine).
bytes = unicode2native(str, charset) converts unicode characters to an numeric array (character set charset instead of the native character set).
List of characters set: http://www.iana.org/assignments/character-sets/character-sets.xhtml
R = unicode2native('片仮名', 'SHIFT_JIS')
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET