As far as normal ascii is concerned can I compare a wchar_t with a char type to see if they are equal?
I think, but do not know, that the most common ASCII chars have the same integer value in char and wchar_t. Is that true? Do I need to be careful?
The application I'm writing will also compare punctuation like , . : ; \t \n
Summarising, in UNICODE c++ when is this valid:
wchar_t wcA = ...
char chB = ...
if (wcA == chB) {
...
}