touchgfx::Unicode::toUTF8() method
@fn static uint16_t Unicode::toUTF8(const UnicodeChar *unicode, uint8_t* utf8, uint16_t maxbytes); Converts a string from unicode to utf8. Converts a string from unicode to utf8. The conversion stops if there is no more room in the destination or if the terminating zero character has been converted. U+10000 through U+10FFFF are skipped.
Arguments
unicode
The unicode string.
utf8
maxbytes
The maximum number of bytes that the utf8 array can hold.
Return value
The number of characters successfully converted from unicode to utf8 including the terminating zero.
Type of touchgfx::Unicode::toUTF8()
touchgfx::Unicode::toUTF8()
uint16_t all items filtered out