.NETGURU
Arabic Language support and Unicode Performance
Messages   Related Types
This message was discovered on microsoft.public.dotnet.faqs.

Post a new message to this list...

Hari Shankar
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

Reply to this message...
 
    
Uri Dor
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:
[Original message clipped]

Reply to this message...
 
    
rasha
Hari Shankar wrote:
[Original message clipped]

:(
Dear Hari
I'm Rasha
I am supposed to develop a world ready application in VB.Net
And I Face the same problem ,If you find a good Solution please send it
to me at Click here to reveal e-mail address

rasha

--
rasha
------------------------------------------------------------------------
Posted via http://www.mcse.ms
------------------------------------------------------------------------
View this thread: http://www.mcse.ms/message918039.html

Reply to this message...
 
 
System.Windows.Forms.CreateParams
System.Windows.Forms.RightToLeft
System.Windows.Forms.TreeView




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification