"Greg Turner" gmturner007@ameritech.net wrote:
+int _ismbcalpha(unsigned int ch) +{
- if (ch < 0x100)
- return ((0x41 <= ch && ch <= 0x5a) ||
(0x61 <= ch && ch <= 0x7a) ||
/* Japanese/Katakana, CP 932 */
(0xa6 <= ch && ch <= 0xdf));
- else
- {
FIXME("Handle MBC chars\n");
return 0;
- }
+}
It's better to create a correct multibyte character pair and call GetStringType then.