touchgfx::Unicode::fromUTF8() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...

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.

Syntax

static uint16_t fromUTF8(const uint8_t* utf8,     UnicodeChar* dst,     uint16_t maxchars);

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.

References

LocationText
Unicode.hpp:557
static uint16_t fromUTF8(const uint8_t* utf8, UnicodeChar* dst, uint16_t maxchars);

Type Use

Type of touchgfx::Unicode::fromUTF8()
touchgfx::Unicode::fromUTF8()
uint16_t
all items filtered out