Why does Windows 7 change encoding of characters in runtime?
Posted
by LukLed
on Stack Overflow
See other posts from Stack Overflow
or by LukLed
Published on 2010-03-31T08:08:19Z
Indexed on
2010/03/31
8:13 UTC
Read the original article
Hit count: 242
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.
© Stack Overflow or respective owner