unicode2native
Convert Unicode characters to numeric bytes
Description
converts Unicode® characters to their corresponding byte values using the default encoding
scheme.bytes = unicode2native(unicodestr)
You can save the output of unicode2native to a file using the
fwrite function.
converts Unicode characters using the specified encoding scheme. bytes = unicode2native(unicodestr,encoding)
Examples
Input Arguments
Output Arguments
Tips
The default encoding scheme might not match the encoding scheme of text read from a file.
Extended Capabilities
Version History
Introduced before R2006a