if (OS.IsDBLocale) length = mbcsToWcsPos (length);
if (!OS.IsUnicode && OS.IsDBLocale) length = mbcsToWcsPos (length);
public int getCharCount () {	checkWidget ();	int length = OS.GetWindowTextLength (handle);	if (OS.IsDBLocale) length = mbcsToWcsPos (length);	return length;}