The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search

PUBLIC int INTL_IsHalfWidth ( uint16 winCharSetID, unsigned char *pstr )

Returns whether or not the given character is a half-width character

Documentation

Returns whether or not the given character is a half-width character. In some countries, certain characters are normal width on old terminals, while other characters are half-width. For example, normal Japanese characters are considered normal width, while "hankaku kana" are half-width, as are the ASCII characters.
Returns:
0 if the given character is ASCII or the charset do not normally distinguish between half-width and full-width, 1 if the given character is half-width
Parameters:
winCharSetID - Specifies the charset ID of the text
pstr - Specifies the character
See Also:
INTL_ColumnWidth

alphabetic index hierarchy of classes


Copyright © 1998 Netscape Communications Corporation

generated by doc++

Copyright © 1998-1999 The Mozilla Organization.
Last modified April 17, 1998.