
| Subject: | Delphi source code changes when changing 'system locale' |
| Posted by: | simon horup (b…@bla.com) |
| Date: | Mon, 29 Jun 2009 |
Hi
If I write this code in the Delphi 2009 code editor, under English system
locale:
Showmessage('§');
... and change the system locale to Japanese (followed by a reboot), the
code inside the editor changes to:
Showmessage('ï½§');
So the 'section' sign, chr(167), is being replaced by some other character
(looks a bit like the number '7') with a difference ASCII code.
Also, a Delphi executable with code using the '§' sign, will not run
properly under a Japanese system locate system, even though the executable
was compiled under English system locale.
Anyone got an idea why?
Kind Regards
Simon