I was using D6 on win XP, and it was working fine with Arabic charachter
set. I installed D7, and all my menus, screens, buttons changed to (???????)
or unreadable characters.... Anyone knows a soultion to this problem please
help me.
For D6, you should have Arabic system locale (called default locale in CP dialog).
For D7, the system locale is ignored, you need Arabic user locale (called Your locale in 2K CP dialog and probably something similar in XP).
Mahris
"Maris Janis Vasilevskis" <mah...@myself.com> wrote in message
news:3E91470A...@myself.com...
There's a bug in the IDE. If you write a program using one locale (for
example Arabic), then you change the locale, load the application into
Delphi and save it - all your strings will be corrupted (?????).
I have the same experience with Hebrew strings, but I was lucky to run
into this bug when I was only playing with Delphi and writing a small
test program.
As far as I know there is no way to restore the strings except to type
all of them again. It's a terrible bug in the IDE. The only way to live
with it is to avoid it... but that's only after you know about it!
I searched in QualityCentral and I saw that someone already wrote a
detailed report about the bug half a year ago. However there's no
solution yet from Borland.
If I remember correctly the bug number is 2378. You can add your vote(s)
for it, but don't hope too much to see it fixed soon :-(
Eyal
Bikoret Bona Ltd.
Chopin
begin
Application.Initialize;
Application.Title := 'Thesis';
SetThreadLocale(MAKELCID(MAKELANGID(LANG_GREEK,SUBLANG_DEFAULT),
SORT_DEFAULT));
Application.CreateForm(TMainMDIForm, MainMDIForm);
Application.Run;
end.
The MAKELCID, MAKELANGID are included in the jedi library.
The above works on NT, 2000, XP but not on 95, 98, millenium.
The last solution is go again to delphi 6 and wait for 8.