Scroll to navigation

thai/thwstr.h(3) libthai thai/thwstr.h(3)

NAME

thai/thwstr.h -

Thai wide-char string manipulators.

SYNOPSIS

Functions


size_t th_wnormalize (thwchar_t dest[], const thwchar_t *src, size_t n)
Normalize character order and remove excessive characters.

Detailed Description

Thai wide-char string manipulators.

Function Documentation

size_t th_wnormalize (thwchar_twdest[], const thwchar_t *wsrc, size_tn)

Normalize character order and remove excessive characters.

Parameters:

wdest : the destination wide-char string buffer
wsrc : the wide-char string to normalize
n : the size of dest buffer (as number of elements)

Returns:

total number of elements written to wdest, excluding the terminating '\0'.

Corrects combining character order and remove excessive characters. At most n characters are put in wdest.

Author

Generated automatically by Doxygen for libthai from the source code.

Fri May 2 2014 Version 0.1.14