Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Delphi 7 Arabic support

854 views
Skip to first unread message

Omar Karim

unread,
Apr 6, 2003, 5:01:44 AM4/6/03
to
Hi..

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.


Maris Janis Vasilevskis

unread,
Apr 7, 2003, 5:38:18 AM4/7/03
to
A possible reason:

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

Omar Karim

unread,
Apr 8, 2003, 4:27:41 AM4/8/03
to
Thanks for responding Mahris, actually I tried changing all the setting in
the CP (regional settings) for both default user locals and my locals (in XP
its a bit diffrent from 2K..you can apply settings to all users).
Unfortunatly it didnt work, it only works for new applications, but existing
ones just appears either ???? or strange characters. I am hoping its not a
bug in D7, cause its a pain to rewrite all the text again in old
applications.
thanks again for your help.
Omar

"Maris Janis Vasilevskis" <mah...@myself.com> wrote in message
news:3E91470A...@myself.com...

Bikoret Bona Ltd.

unread,
Apr 14, 2003, 7:26:14 PM4/14/03
to
Omar Karim wrote:

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.

Karoly Horvath

unread,
Apr 17, 2003, 1:46:31 PM4/17/03
to
In Windows XP make sure you set "Default language for non-unicode
applications" to arabic!

Chopin

theguru

unread,
Jul 17, 2003, 5:23:53 PM7/17/03
to
I had the same problem when i tried to port a delphi 6 project to
delphi 7.
The problem raises when the development pc uses different locale than
the client.
One solution is to localize the resources of the application. I tried it
with delphi tools. Worked for small projects but failed for big ones.
Another solution is to force the application to use the development
locale by using a xxx.dpr like this

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.


0 new messages