473,387 Members | 1,504 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,387 software developers and data experts.

Arabic Text. Point Problem

Hello everyone

I have an ASP.NET website with arabic interface.

When I type arabic text and at the end of the text I put a point, the point is displayed at the beginning of the text.

example :
مرحبا.

As u noticed the point is displayed at the beginning of the text where it must be displayed at the end.

Can anyone Help me??
Jan 17 '08 #1
2 1369
kenobewan
4,871 Expert 4TB
Assuming they are separate characters, you could adapt something like this:
Expand|Select|Wrap|Line Numbers
  1. void onClick_btnReverse(Object src, EventArgs e) {
  2.  
  3. char [] strArray = txtReverse.Text.ToCharArray(); 
  4. Array.Reverse( strArray ); 
  5. string strReversed = new string( strArray ); 
  6. lblReverse.Text = strReversed;
  7.  
  8. }
Jan 17 '08 #2
Plater
7,872 Expert 4TB
Arabic text is written right to left correct?
Have you set the mode to be "right to left", since it defaults to "left to right"?
Are you adding the Point in code?
don't know how the "right to left" order effects other things, but
myTextBox.Text+=".";
will normally add a point to the far right side of the string. You may need to add it to the far LEFT:
myTextBox.Text="."+myTextBox.Text;
If the text direction doesn't effect the object's member values, you have to do the reverse method mentioned above I would guess.
Jan 17 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

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...
4
by: Greg | last post by:
I'm having trouble displaying and passing arabic characters from my web form. I've added requestEncoding="windows-1256" responseEncoding="windows-1256" to my web.config but it didn't help. I also...
2
by: mansour via DotNetMonster.com | last post by:
Dear all I am using ASP.NET 2003 and SQL SERVER 2000 I am building a website in English and Arabic. I am having a problem with Arabic characters, when I am trying to insert Arabic text it appears...
1
by: Khan | last post by:
Hi all, I have a textbox 'remarks' in jsp which has some arabic text. while pressing the submit button the arabic text is storing in java string variable. String rem = ...
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...
0
by: shizah | last post by:
First of all thanks alot for ur response. Let me clear my point again to u so that u can suggest me a better advice. Well sir u r very much right in this contrast that it can be implemented in my...
0
by: Sofia Zarin | last post by:
Hello every one my problem is that i want to convert my web pages into Arabic. and for this I have already install Arabic font in my pc but the problem is that once i select that specific Arabic...
2
by: PrateekArora | last post by:
Hi Guys, I need to develop a MultiLingual Application (Arabic & English) in VB.NET, as far as Labels and captions are concerned in User Interface I am done with that using Resource Manager Class &...
2
by: farukcse | last post by:
Dear Sir, I have a PHP script that export CSV with arabic text, for example I download the CSV on the website then save to desktop of my computer and Open it on NOTEPAD... that works fine I could...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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...

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.