public override int GetByteCount(char[] chars, int index, int count)
{
int byteCount = 0;
ushort u;
char c;
for (int i = 0; i < count; index++, byteCount++, i++)
{
c = chars[index];
u = _unicodeToDbcs[c];
if (u > 0xff)
byteCount++;
}
return byteCount;
}