473,413 Members | 1,713 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 software developers and data experts.

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 4031
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: suhaddad | last post by:
I have an XML schema that I want to modify. I need to change the text from English to Arabic, but I can't seem to be able to do so. <LearningResourceData Type="Session - Tutorial and Workouts">...
17
by: thinkfirst | last post by:
Hello CIWAH ... I want to propose full internationalization of three related websites: http://africadatabase.org/ http://people.africadatabase.org/ http://institutions.africadatabase.org/ My...
18
by: j1c | last post by:
What do I need to do in my ASP pages to display Arabic content? Does anything need to be done to the webserver too ? tx
3
by: Kieran Green | last post by:
Greetings, We are building an application written for Windows in C++ which uses OLEDB to connect to AIX DB2 8.2. Our app stores all string data in the wchar_t datatype, which generates dynamic...
0
by: bvcbb | last post by:
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...
4
by: Arif | last post by:
My programs searches the header of input barcode in index file. Get the record position next to Barcode header. Then moves the file pointer of products file to reach that record. My products...
0
by: Garrek | last post by:
I have an existing ASP.Net application that must be modified to support mixed content: Latin-based languages (i.e. English) intermixed with Arabic. Our code and database assumes everything is...
1
by: jrs_14618 | last post by:
Hello All, This post is essentially a reply a previous post/thread here on this mailing.database.myodbc group titled: MySQL 4.0, FULL-TEXT Indexing and Search Arabic Data, Unicode I was...
2
JustRun
by: JustRun | last post by:
Hi, I'm developing a web application using ASP.NET2.0 with C#, I have tried to use custom validation controls to validate my forms, it worked very well in the English language , but when i test it...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.