native2unicode
Convert numeric bytes to Unicode characters
Description
converts a numeric vector of bytes to the corresponding Unicode® characters using the default encoding scheme. The output
unicodestr = native2unicode(bytes)unicodestr is a character vector that has the same array shape as
bytes.
If you specify bytes as a character vector or a string scalar, the
function returns the same text value.
converts a numeric vector of bytes using the specified encoding scheme. unicodestr = native2unicode(bytes,encoding)
Examples
Input Arguments
Output Arguments
Tips
The default encoding scheme might not match the encoding scheme of bytes read from a file.
Extended Capabilities
Version History
Introduced before R2006a