touchgfx::Unicode::fromUTF8() method
@fn static uint16_t Unicode::fromUTF8(const uint8_t* utf8, UnicodeChar* dst, uint16_t maxchars); Convert a string from utf8 to unicode. Convert a string from utf8 to unicode. The conversion stops if there is no more room in the destination or if the terminating zero character has been converted.
Arguments
utf8
The UTF8 string.
dst
maxchars
The maximum number of chars that the dst array can hold.
Return value
The number of characters successfully converted from utf8 to unicode including the terminating zero.
Type of touchgfx::Unicode::fromUTF8()
touchgfx::Unicode::fromUTF8()
uint16_t all items filtered out