I want to convert a Spanish string to uppercase. I use the function toupper for all characters. The function does not convert characters with accent:
PROTECCIóN
Nor the enye character:
DAñO
I use the setlocale function.
setlocale(LC_ALL, "es_ES");