#include <iostream>
#include <clocale>
#include <cctype>
int main()
{
std::setlocale(LC_ALL, "en_US.iso88591"); // only now Á is 0xc1
unsigned char big = 0xc1;
unsigned char small = std::tolower(big);
std::cout << std::hex << "character code was "
<< +big << " became " << +small << '\n';
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y2xvY2FsZT4KI2luY2x1ZGUgPGNjdHlwZT4KCmludCBtYWluKCkKewogICAgc3RkOjpzZXRsb2NhbGUoTENfQUxMLCAiZW5fVVMuaXNvODg1OTEiKTsgLy8gb25seSBub3cgw4EgaXMgMHhjMQogICAgdW5zaWduZWQgY2hhciBiaWcgPSAweGMxOwogICAgdW5zaWduZWQgY2hhciBzbWFsbCA9IHN0ZDo6dG9sb3dlcihiaWcpOwoKICAgIHN0ZDo6Y291dCA8PCBzdGQ6OmhleCA8PCAiY2hhcmFjdGVyIGNvZGUgd2FzICIKICAgICAgICAgICAgICA8PCArYmlnIDw8ICIgYmVjYW1lICIgPDwgK3NtYWxsIDw8ICdcbic7Cn0K