: [ostr, error_flag] = unicode2utf8 (ustr)

Convert from Unicode code points ustr to UTF-8 encoded string ostr.

It is not possible to convert Unicode characters with a codepoint higher than 255 because Octave’s char type is 8-bit wide. This means that only the ISO 8859-1 (Latin-1) subset of Unicode can be mapped correctly.

If an error occured error_flag is set to true.

Package: io