473,803 Members | 3,461 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Arabic Text. Point Problem

26 New Member
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 1389
kenobewan
4,871 Recognized Expert Specialist
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 Recognized Expert Expert
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.T ext;
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
8354
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 role is mainly advisory and server management. I have very little to do with content or page generation, so it's not something I can do myself -- I have to persuade other people to do it.
4
3782
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 added <meta http-equiv="Content-Type" content="text/html; charset=windows-1256"> to the top of the page and that still didn't fix it. When I submit a form with arabic text it comes out as %e1%c8 instead of the text. It also displays like this...
2
5007
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 "????????" I have adjusted the page charset to "Arabic (Windows)" and Codepage to"1256" And in WEB.CONFIG to <globalization requestEncoding="windows-1256" responseEncoding="windows-1256" />
1
3964
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 = request.getParameter("remarks"). but the problem is that, arabic text is saving in java string variable as strange chars and boxes. because in java message the arabic text is
1
4858
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 wondering if anybody has experienced the same issues
0
1038
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 pc. Look only i m anaware of this thing to write text into the text box with shift+alt key. A normal user is unaware of it. if I upload pages into my remote domain. There how a person who has not installed arabic in his pc is able to enter arabic....
0
1518
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 font the text is still written in English . Can u please suggest me some embedded Arabic fonts which are when selected will write Arabic rather than English. Regards & Thanks in advance
2
5453
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 & resource File (Code given below). But I am having issue with text boxes as we need them for both English as well as Arabic (depending upon the language selected, in arabic they will be Right aligned). I'll appriciate if someone can guide me with...
2
16670
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 still see all the arabic text OK with no problem, but if I open the CSV file in Microsoft EXCEL, all the arabic text are busted and no longer readable. arabic text is inserted and stored in database as UTF-8 format. Do you know a solution for...
0
9703
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10550
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10295
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10069
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7604
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6844
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5501
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4275
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2972
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.