PUBLIC int INTL_ColumnWidth ( int winCharSetID, unsigned char *pstr )
Returns the column width of the given character
Documentation
Returns the column width of the given character. In some countries, old terminals use full-width and half-width characters. This function returns the number of "columns" taken up by the given character. For example, in Japan, normal characters take up 2 columns, while half-width characters take up 1 column each. Returns 1 for charsets that do not distinguish between half-width and full-width characters.
- Returns:
- The column width of the given character
- Parameters:
- winCharSetID - Specifies the charset ID of the text
pstr - Specifies the character - See Also:
- INTL_IsHalfWidth
alphabetic index hierarchy of classes
generated by doc++