if (IsDBCSLeadByte(cpOriginStr[i])) //汉字
{
if (_ismbslead((const unsigned char *)cpOriginStr,(const unsigned char *)(cpOriginStr+i))) //高字节
{
}
else //低字节
{
}
}
else //非汉字
{
}
if (IsDBCSLeadByte(cpOriginStr[i])) //汉字
{
if (_ismbslead((const unsigned char *)cpOriginStr,(const unsigned char *)(cpOriginStr+i))) //高字节
{
}
else //低字节
{
}
}
else //非汉字
{
}
转载于:https://my.oschina.net/871120/blog/387490