>>548
であれば、

unsigned char c = str[0];
if (0x81 <= c && c <= 0x9f || 0xe0 <= c && c <= 0xfc) {
...
でいい。

ismbblead() とか IsDBCSLeadByte() が使えるなら、そっちを使ったほ
うがいいです。