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
10
votes
2 answers

Searching Arabic names discard the differences between "أ" , "ا" in mysql

I am storing Arabic name in my database. In Arabic there are some letters that may written in different format such as "ا"، "أ"، "آ" it all represent the same letter. Also, "ه" ، "ة". I need to search database for names and ignoring the differences…
A. Gh
  • 111
  • 1
  • 5
10
votes
9 answers

Android convert Arabic number to English Number

I get the following error from the GPS: Fatal Exception: java.lang.NumberFormatException Invalid double: "-٣٣٫٩٣٨٧٤" Now, this is from an error that I got from a user via Fabric. It looks like Arabic so I'm guessing it only happens if you have the…
rosu alin
  • 5,674
  • 11
  • 69
  • 150
10
votes
4 answers

Unity Supports Arabic

Does unity support arabic writing in InputField UI or even GUI Texts ? I mean if I want to write arabic characters in the InputField, does unity support that ?
Adam
  • 139
  • 1
  • 6
10
votes
2 answers

Do Arabic characters have different Unicode code points based on position in string?

Do Arabic characters have different Unicode code points based on position in string, or is it a visual solution? This is the same word, 3 times, with white spaces and without seems like it's the same Unicode value. عربى‎ عرب ى‎ ع ربى‎ What I need…
yossi
  • 3,090
  • 7
  • 45
  • 65
10
votes
4 answers

Android strings.xml resource - arabic language and dynamic formatted strings

Hello I have a question about arabic formatting how should I properly format this strings, it seems i can't manage this: تحميل %1$s… تم تحميل الكلمات. %1$d/%2$d! This is in sublime text 2 - but i think that there is Left-to-Right…
Michał Ziobro
  • 10,759
  • 11
  • 88
  • 143
10
votes
3 answers

The length of Arabic letters in Lua

In Lua language when I want to get the length of a single Arabic letter (such as "ف"), the answer will be 2! Ex. local letter = "ف" print( letter:len() ) Output: 2 The same problem occur when I use (string.sub(a,b)). If I want to print the first…
Ali
  • 167
  • 1
  • 8
10
votes
6 answers

how to perform search on Arabic text in JAVA?

I have Arabic text in database with diacritics. when i type Arabic for searching some string, it is without diacritics which definitely do not match with database string. it is working fine on text without diacritics. is there any way to run it on…
Baqer Naqvi
  • 6,011
  • 3
  • 50
  • 68
10
votes
4 answers

How to edit arabic string properly?

هذا المجلد يحتويى على %1$s ملفات. الرجاء التأكد قبل الحذف. الملفات المحذوفة غير قابلة للإسترجاع. I wanna put "%1$s" in an arabic string, but as you can see here, word, notepad++, utraedit, all failed to get the right…
thecr0w
  • 2,148
  • 4
  • 33
  • 59
10
votes
2 answers

Why does encoding, then decoding strings make Arabic characters lose their context?

I'm (belatedly) testing Unicode waters for the first time and am failing to understand why the process of encoding, then decoding an Arabic string is having the effect of separating out the individual characters that the word is made of. In the…
Zaid
  • 36,680
  • 16
  • 86
  • 155
9
votes
4 answers

HTML5 Canvas fillText with Right-to-Left string

I am trying to use the fillText() method on an HTML5 Canvas' 2d Context to draw a string written in Arabic. It works perfectly, until I put a punctuation mark at the end of the string. Then the punctuation mark appears on the wrong side of the…
user1145886
  • 171
  • 2
  • 6
9
votes
2 answers

Arabic Characters in URL

I have created a website using DNN. The site has arabic characters in URL after the domain name. For example: http://www.example.com/اسعارالعملات.aspx. My questions are: Is this URL read by non Arabic supportive operating systems or browsers or…
Amira Kamel
  • 93
  • 1
  • 5
9
votes
7 answers

Arabic text in as3

How can I display arabic text from right to left with as3?
gabitzish
  • 9,535
  • 7
  • 44
  • 65
9
votes
1 answer

How to create a regex for parsing Arabic Dates

I'm working on a program that is running a series of regexs to attempt to find a date within the DOM from a webpage. For example, in www.engadget.com/2010/07/19/windows-phone-7-in-depth-preview/, I would match "Jul 19th 2010" with my regex. Things…
chsbellboy
  • 490
  • 2
  • 15
9
votes
3 answers

Android: Display digits in Arabic format

How can I show the digits in Arabic format? So, if I have integers: 1,2,3 they become '١', '٢', '٣'
Mina Wissa
  • 10,923
  • 13
  • 90
  • 158
9
votes
2 answers

How to invert direction of brackets (for a right to left text) for arabic language

When I am trying to use brackets in Arabic language, they are getting reversed as shown in the attached .I have tried using textDirection RTL and BidiFormatter, but none of them works. The correct string is something like this "(باقة مسافر إسبوعي…
Chetna
  • 864
  • 8
  • 26