Convert a systemcharset string to TaggedText encoded unicode.
Convert a systemcharset string to TaggedText encoded unicode. Currently only the Western European character sets Macroman (Mac) and cp1252 (Windows) are supported.
Name | Type | Default | Description |
Return | char * | ||
dest | char* | - | destination buffer. Buffer must have been allocated static or usin the alloc function |
src | char* | - | source string |
char * systemcharset = "Preisstörer groß"; char tagged [4096];
if (systemcharset_to_tagged (tagged, systemcharset) == 0) { showmessage ("Conversion failed"); return -1; }
showmessage ("%s", tagged); // => "Preisst<0x00F6>rer gro<0x00DF>"
Alphabetic index HTML hierarchy of classes or Java