MCPcopy Create free account
hub / github.com/MapServer/MapServer / msUTF8ToUniChar

Function msUTF8ToUniChar

maptclutf.c:330–335  ·  view source on GitHub ↗

msUTF8ToUniChar() * * Extract the Unicode Char represented by the UTF-8 string. Bad * UTF-8 sequences are converted to valid Unicode Chars and processing * continues. * * The caller must ensure that the source buffer is long enough that * this routine does not run off the end and dereference non-existent * memory looking for trail bytes. If the source buffer is known to * be '\0

Source from the content-addressed store, hash-verified

328**
329**/
330int msUTF8ToUniChar(const char *str, /* The UTF-8 string. */
331 int *chPtr) /* Filled with the Unicode Char represented
332 * by the UTF-8 string. */
333{
334 return ms_Tcl_UtfToUniChar(str, chPtr);
335}

Callers 6

getTruetypeTextBBoxCairoFunction · 0.85
renderGlyphsCairoFunction · 0.85
agg2RenderGlyphsFunction · 0.85
agg2RenderTruetypeSymbolFunction · 0.85
agg2GetTruetypeTextBBoxFunction · 0.85

Calls 1

ms_Tcl_UtfToUniCharFunction · 0.85

Tested by

no test coverage detected