FromUtf8()

String::FromUtf8(const char *) method

Creates String from utf8 string.

static String System::String::FromUtf8(const char *utf8)

Arguments

ParameterTypeDescription
utf8const char *Pointer to null-terminated string encoded using utf8 codepage.

Return Value

String object representing passed string.

String::FromUtf8(const char *, int) method

Creates String from utf8 string.

static String System::String::FromUtf8(const char *utf8, int len)

Arguments

ParameterTypeDescription
utf8const char *Pointer to string encoded using utf8 codepage.
lenintNumber of characters to handle.

Return Value

String object representing passed string.

String::FromUtf8(const uint8_t *) method

Creates String from utf8 string.

static String System::String::FromUtf8(const uint8_t *utf8)

Arguments

ParameterTypeDescription
utf8const uint8_t *Pointer to null-terminated string encoded using utf8 codepage.

Return Value

String object representing passed string.

String::FromUtf8(const std::string&) method

Creates String from utf8 string.

static String System::String::FromUtf8(const std::string &utf8)

Arguments

ParameterTypeDescription
utf8const std::string&Pointer to string encoded using utf8 codepage.

Return Value

String object representing passed string.

See Also