return;
}
- error(ch, buf, "Can't express character in Windows-1252");
+ error(ch, buf, invalid_character(ch, "Windows-1252"));
}
}
{
result = table[ch-0x80];
if(result==0)
- result = error("Undefined Windows-1252 character");
+ result = error(invalid_sequence(i, i+1, "undefined Windows-1252 character"));
}
else
result = ch;