I'm going to program and develop a windows
application
and I want to use Persian in user
interface.
I'm using Windows XP and uni-code in programming
language.
But is there any trick or rule to make
application working fine in
older windows? (98, ME)
Or just using uni-code makes anything
fine?
Win9x does
not support Unicode internally. M$ has developed the so-called MSLU[1]
which provides Unicode compatibility at the Windows API level for Win9x. I
have used it, and it indeed works, but be warned that these OSes do *not*
support Unicode anyway, and all MSLU can do is implement API stubs for Unicode
versions Win32 functions (such as, CreateFileW) which would allow you to build
your app in Unicode mode in Visual C++.
What I've
ended up doing in the past is do all the UI as HTML, and embed a HTML rendering
engine in my app. I've used the WebBrowser control (the same control used
by IE). This requires you to distribute a customized[2] version of IE with
your own app which has "Arabic" support built-in, and write some amount of
_javascript_ code to enable the user to type Persian in your application even if
they don't have a Persian keyboard installed (you can find several JS codes as
starters on the web for this purpose.) You can also use Gecko, which is
Mozilla's great HTML rendering engine as well. If you decide to use the
WebBrowser control, check out http://www.beginthread.com/Article/Ehsan/WebBrowser%20Goodies/
for some articles about possible customizations of the control that you may be
needing in your own applications.
All of this,
of course, applies to Visual C++. If you use some other programming tool,
then you'll have to research on your own, though I think that few support
MSLU.
[1] You can
download it from http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdkredist.htm.
[2] You can
deploy a customized IE install using the IE Administration Kit (IEAK.)
-Ehsan Akhgari
www.farda-tech.comList Owner: MSVC@BeginThread.com
[Email: [EMAIL PROTECTED]][WWW: http://www.beginthread.com/Ehsan
]
___
PersianComputing mailing list
PersianComputing@lists.sharif.edu
http://lists.sharif.edu/mailman/listinfo/persiancomputing