Hi, for me it return 1029, CZ. I talk about "CZ" or "IT". I use unicode 1250, what is 1029 or your 1040 i dont know.
Your cp 1252 table is this
Microsoft_windows_cp1252:
DATA 8364,0,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,0,381,0
DATA 0,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,0,382,376
DATA 160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175
DATA 176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191
DATA 192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207
DATA 208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223
DATA 224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239
DATA 240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255
Code Table 1252
http://en.wikipedia.org/wiki/Windows-1252 MS DOS ASC code page differences
"ä" is &H84 in CP437, &HE4 in Windows-1252, &HE4 in Unicode.
"ö" is &H94 in CP437, &HF6 in Windows-1252, &HF6 in Unicode.
"Ă·" is &HF6 in CP437, &HF7 in Windows-1252, &HF7 in Unicode.
"ÎŁ" is &HE4 in CP437, , &H3A3 in Unicode.
delete my block data and use this and write here if it works. I copy it from QB64 help.