Why does Windows 7 change encoding of characters in runtime?
- by LukLed
I have a delphi form:
and my code:
when I run this form in Windows 7, I see:
In design time, form had polish letters in first label, but it doesn't have them in runtime. It looks ok on Vista or Windows XP. When I set caption of second label in code, everything works fine and characters are properly encoded.
First 5 codes of top label on Windows 7: 65 97 69 101 83
First 5 codes of top label on Windows Vista/XP: 165 185 202 234 140
First 5 codes of bottom label on every system: 165 185 202 234 140
Windows 7 changes encoding, why? My system settings seem to be ok. I have proper language set for non-unicode applications in control panel.