Questions tagged [arabic]

The Arabic tag is for issues relating to displaying user interfaces and managing data in Arabic written language.

In the localization or internationalization of user interfaces, and/or in the encoding/decoding of text, Arabic languages may present particular issues such as Unicode BiDi support (see also: , ).

Unlike other RTL languages (e.g. Hebrew), Arabic letters are written connected so same letter may have more than 4 glyphs as some combinations have specific glyphs. For example, Arabic text should be in the normalized form before processing (indexing ...) It should be mentioned that Unicode offers different methods for representing arabic letters, not only for the different connected glyphs, but also for vowel signs.

Popular questions related to common Arabic related issues:

Useful Arabic libraries

  • Ar-PHP: A collection of libraries to process Arabic text, such as text normalization, rendering Arabic text on images, etc.
2280 questions
108
votes
16 answers

How to convert Persian and Arabic digits of a string to English using JavaScript?

How can I convert Persian/Arabic numbers to English numbers with a simple function? arabicNumbers = ["١", "٢", "٣", "٤", "٥", "٦", "٧", "٨", "٩", "٠"] persianNumbers = ["۱", "۲", "۳", "۴", "۵", "۶", "۷", "۸", "۹", "۰"] It is the same schema, but…
S. Ali Mihandoost
  • 2,873
  • 3
  • 18
  • 24
73
votes
4 answers

How to support Arabic text in Android?

I am getting Arabic text from server successfully. Retrieved text I want display in code but its showing boxes instead of Arabic text. Assume that t array values are Arabic text from server. string[] t={" "}; Textview tv = (Textview)…
babi
  • 779
  • 1
  • 6
  • 6
55
votes
8 answers

HTML - Arabic Support

i have a website in which i have to put some lines in Arabic.... how to do it... where to get the Arabic text characters... how to make the page support Arabic... i have to put a line per page and there is a lotta lotta pages so can't go around…
Moon
  • 19,518
  • 56
  • 138
  • 200
46
votes
9 answers

Right to left Text HTML input

For my website, i need to provide arabic support. Part of it is to provide input textboxes where when user types in, the new characters have to be appended to the left and the text has to be right aligned. setting the css property to…
Anand
  • 10,310
  • 24
  • 90
  • 135
41
votes
8 answers

Save Data in Arabic in MySQL database

I have changed the charset of the tables and of the column, i get the arabic text as ???? marks in MYSQL database here is the design of the table CREATE DATABASE mydb DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci; CREATE…
Romani
  • 3,241
  • 4
  • 25
  • 28
37
votes
6 answers

Twitter Bootstrap CSS that support from RTL languages

I just discover Twitter Bootstrap and I'm wondering if there is a right-to-left (RTL) version of it. Does anyone know?
Ehsan
  • 2,273
  • 8
  • 36
  • 70
35
votes
8 answers

Why words are shuffled when I insert English words in any Arabic/Urdu/Persian text on Notepad or MS Word?

I can write Arabic/Urdu/Persian on MS Word or Notepad just fine, but whenever I insert any English word or number, the sequence is just disturbed and seems like the all the words have been shuffled in the sentence. Look at the example below: یہ ایک…
Arfeen
  • 2,553
  • 5
  • 29
  • 48
35
votes
3 answers

String concatenation containing Arabic and Western characters

I'm trying to concatenate several strings containing both arabic and western characters (mixed in the same string). The problem is that the result is a String that is, most likely, semantically correct, but different from what I want to obtain,…
Carlos Ferreira
  • 565
  • 1
  • 8
  • 15
30
votes
3 answers

How to insert Arabic characters into SQL database?

How can I insert Arabic characters into a SQL Server database? I tried to insert Arabic data into a table and the Arabic characters in the insert script were inserted as '??????' in the table. I tried to directly paste the data into the table…
pavanred
  • 12,717
  • 14
  • 53
  • 59
29
votes
2 answers

Inserting HTML tag in the middle of Arabic word breaks word connection (cursive)

From wikipedia: Cursive (from Latin curro, currere, cucurri, cursum, to run, hasten) is any style of handwriting that is designed for writing notes and letters quickly by hand. In the Arabic, Latin, and Cyrillic writing systems, the letters in a…
jasin_89
  • 1,993
  • 7
  • 30
  • 41
29
votes
4 answers

How does JavaScript split work on Arabic plus English number strings?

When I tried splitting: "بحد-8635".split('-') then JavaScript gives me this result: [0] - بحد, [1] - 8635 console.log("بحد-8635".split('-')) And when I tried splitting: "2132-سسس".split('-') it gives me this different result: [0] - 2132 [1] -…
Saurabh Arora
  • 431
  • 3
  • 11
29
votes
6 answers

RTL language with Sublime Text editor

The RTL languages are not supported in the sublime text editor I tried this plug-in Bidirectional text support on windows os Copied all files from the zip Sublime-Text-2-BIDI-master to the ST3 folder and changed the font type and size. then I…
Dania Delbani
  • 816
  • 1
  • 11
  • 27
28
votes
6 answers

How to detect on which side of the browser is scrollbar - right or left (in case of RTL)?

For some browsers (Safari, Edge, IE) will automatically move the scrollbar to the left side which is the correct behavior: Unfortunately, major browsers (Chrome and Firefox) are behaving in a different way, the scrollbar is still…
Limon Monte
  • 52,539
  • 45
  • 182
  • 213
27
votes
1 answer

Arabic language in php/mysql appears "????" question marks in html

Possible Duplicate: Save Data in Arabic in MySQL database I have a problem with retrieving Arabic data from MYSQL database using PHP, it appears as question marks "????" in HTML: I have a database with "utf8_general_ci" as collation. The…
CairoCoder
  • 3,091
  • 11
  • 46
  • 68
26
votes
2 answers

Force RTL layout direction not working for app

I'm trying to add RTL language support in my app (specifically Arabic right now). I'll be supporting English as well. What I've done: Set minSdkVersion to 17 Added android:supportsRtl="true" to my application tag in AndroidManifest.xml Switched my…
Ben Kane
  • 9,331
  • 6
  • 36
  • 58
1
2 3
99 100