5bool StrMkUTF8(
byte *SourceString,
size_t SourceSize,
byte DefaultISO8859CharSet)
12 if(!SourceString || !SourceSize)
18 _utf8string = TAP_MemAlloc(SourceSize << 2);
26 memset(_utf8string, 0, SourceSize << 2);
27 StrToUTF8(SourceString, _utf8string, DefaultISO8859CharSet);
29 if (strlen(_utf8string) < SourceSize)
31 strcpy(SourceString, _utf8string);
36 TAP_MemFree(_utf8string);
bool StrMkUTF8(byte *SourceString, size_t SourceSize, byte DefaultISO8859CharSet)
bool StrToUTF8(const byte *SourceString, byte *DestString, byte DefaultISO8859CharSet)