468,140 Members | 1,173 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,140 developers. It's quick & easy.

Arabic Language support and Unicode Performance

Dear all
I am supposed to develop a world ready application in C# 2003 (which will
run in xp) which should aupport Arabic & Hebrew also. My doubts(Fears) are:

1. Do i have to create all the forms, message boxes in Arabic also. Does it
mean that my application will have duplicate forms. One for Arabic and One
for Non-Arabic. I am planning to use Access 2000. How will the arabic tests
be written in the database? Can i be able to recognise/Display like normal
characters in my application?

2. I know that .NET 2003 supports Unicode 16 bit Encoding Scheme. Is it
possible to store Unicode strings in Access Database? If so then How will it
affect the performance of the application? say i am Sorting, concatenating
some 1000 records?
Moreover i may also have to send the unicode data to Graphic Displays!! Is
it easy and fast to convert the data using .NET namespace?

If any of you have faced/solved such issues, please help me out. If possible
hint me some references also.

Ciao
Hari

Nov 16 '05 #1
1 3503
Hi, Hari,
to your 1st question - I assume you'll have to have duplicate forms, one
for RTL and one for LTR. I don't know if anyone has a component which
will automatically convert an LTR layout to RTL, and how bad such a
conversion will look like. you can try - have all controls use "inherit"
as their RightToLeft property and horizontally-flip all controls if you
change it.
The problem is that some controls don't support RTL. Some of them can be
coerced into supporting it, such as treeviews, using code like this:
public class HebTreeView : TreeView
{
#region right to left (RTL) layout

const int WS_EX_LAYOUTRTL = 0x400000;
const int WS_EX_NOINHERITLAYOUT = 0x100000;
protected override CreateParams CreateParams
{
get
{
CreateParams CP = base.CreateParams;
if (/*MS Sample: !base.DesignMode && */RightToLeft ==
RightToLeft.Yes)
CP.ExStyle = CP.ExStyle | WS_EX_LAYOUTRTL
| WS_EX_NOINHERITLAYOUT;
return CP;
}
}
#endregion
}

to the 2nd question: yes, Access stores in Unicode. I'm not sure why
you're worried about performance when you only have ~1000 records.

regarding "graphic displays" - I didn't understand the question.

Shalom
Uri

Hari Shankar wrote:
Dear all
I am supposed to develop a world ready application in C# 2003 (which will
run in xp) which should aupport Arabic & Hebrew also. My doubts(Fears) are:

1. Do i have to create all the forms, message boxes in Arabic also. Does it
mean that my application will have duplicate forms. One for Arabic and One
for Non-Arabic. I am planning to use Access 2000. How will the arabic tests
be written in the database? Can i be able to recognise/Display like normal
characters in my application?

2. I know that .NET 2003 supports Unicode 16 bit Encoding Scheme. Is it
possible to store Unicode strings in Access Database? If so then How will it
affect the performance of the application? say i am Sorting, concatenating
some 1000 records?
Moreover i may also have to send the unicode data to Graphic Displays!! Is
it easy and fast to convert the data using .NET namespace?

If any of you have faced/solved such issues, please help me out. If possible
hint me some references also.

Ciao
Hari

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by suhaddad | last post: by
17 posts views Thread by thinkfirst | last post: by
18 posts views Thread by j1c | last post: by
3 posts views Thread by Kieran Green | last post: by
reply views Thread by Garrek | last post: by
27 posts views Thread by didacticone | last post: by
1 post views Thread by gcdp | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.