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
| 328 | ** |
| 329 | **/ |
| 330 | int 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 | } |
no test coverage detected