Questions tagged [arabic-support]

The issues relating to the support of the Arabic language.

255 questions
20
votes
2 answers

Exact Quran font with Thajweed - ios

I have an ios Quran app project, i have tested several Arabic fonts for my Quran app text contents, but it has some difference (in Tajweed marks) other than the original Quran text with Tajweed marks. (Please check the images). I want to know which…
Mumthezir VP
  • 6,251
  • 6
  • 28
  • 57
18
votes
7 answers

CSV file with Arabic characters is displayed as symbols in Excel

I am using python to extract Arabic tweets from twitter and save it as a CSV file, but when I open the saved file in excel the Arabic language displays as symbols. However, inside python, notepad, or word, it looks good. May I know where is the…
Shams
  • 193
  • 1
  • 1
  • 5
18
votes
8 answers

how to print Arabic text correctly in PYTHON

I am using Python 2.7 and i try to print Arabic strings like these print "ذهب الطالب الى المدرسة" it's give the following output: ط°ظ‡ط¨ ط§ظ„ط·ط§ظ„ط¨ ط§ظ„ظ‰ ط§ظ„ظ…ط¯ط±ط³ط© The purpose is to print the text correctly, and not how to print each…
Mohammed Sy
  • 240
  • 1
  • 4
  • 14
17
votes
4 answers

Regex match Arabic keyword

I have simple regex which founds some word in text: var patern = new RegExp("\bsomething\b", "gi"); This match word in text with spaces or punctuation around. So it match: I have something. But doesn't match: I havesomething. what is fine and…
carpics
  • 2,272
  • 4
  • 28
  • 56
14
votes
1 answer

Concatenate left-to-right (LTR) and right-to-left (RTL) text

It seems that combining left-to-right (LTR) and right-to-left (RTL) text using paste can produce unexpected results for the resulting order: (x = paste(c('green', 'أحمر', 'أزرق'), collapse=' ')) # arabic for blue and red #> [1] "green أحمر…
geotheory
  • 22,624
  • 29
  • 119
  • 196
11
votes
5 answers

How do I convert an Arabic String date to a java 8 date object?

I'm working on a web monitoring project in Arabic and I want to convert string date like this one: الاثنين 24 أبريل 2017 - 15:00 to Java 8 date object. How can I do that?
Meryem Moumen
  • 119
  • 1
  • 5
9
votes
2 answers

Arabic text in matplotlib

xlabel and ylabel don't display Arabic x = [2, 4, 6, 8, 10] y = [6, 7, 8, 9, 10] plt.bar(x, y, label='Bar1', color='red') plt.xlabel("الفواصل") plt.ylabel("الترتيبات") plt.show()
Ahmed007
  • 201
  • 1
  • 3
  • 5
8
votes
5 answers

iOS RTL - improperly displaying English inside RTL string

iOS application, we're to display news, coming from server. UIlabel is used Everything is perfect when he sentence is in a single language only with no regard to layout (we're switching layout RTL to LTR for different languages, including Arabic,…
Alexey Abraham
  • 379
  • 2
  • 13
7
votes
1 answer

How can I render a Farsi or Arabic text with connected glyphs in JavaFX

I want to display a text with JavaFX. The message is Farsi or Arabic. However, as described here, the representation shape of a Farsi or Arabic letter depends on its adjacent letters. If I build a TextFlow with a single Text containing the whole…
vahidreza
  • 843
  • 1
  • 8
  • 19
6
votes
1 answer

CoreText With Too Long Arabic Text

I was trying to follow a tutorial on CoreText and how to draw the text, and I implemented this function in my customView. override func draw(_ rect: CGRect) { guard let context = UIGraphicsGetCurrentContext() else { return } let…
Bathant Hegazy
  • 549
  • 4
  • 16
6
votes
5 answers

Double cursor in EditText for Input Type Number/Phone (RTL Arabic)

I have an EditText set to gravity Right, so that the text starts from the right if the language is Arabic. Note: My application supports RTL, and I am not setting the TextDirection for my EditText as that will have the same problem. Gravity set to…
BRDroid
  • 3,920
  • 8
  • 65
  • 143
6
votes
1 answer

PIL draw.text() is displaying string containing arabic ligature as two separate glyphs

I have python code. "کم" is a string, consisting of two alphabets ک and م . but they are combined in arabic. i am giving this word to PIL library function. But it is saving image separately both alphabets. How can i combine them.? data2= "کم" …
user6727080
5
votes
1 answer

Replace certain arabic words in text string using Javascript

I have a text string in arabic and i want to make some words Bold and add icons before the word the method I am using for this for english text is var wordsToBold = ["Properties", "How To Use"]; function makeBold(input, wordsToBold) { …
Nasser Hajlawi
  • 313
  • 2
  • 15
5
votes
3 answers

Integer.valueOf Arabic number works fine but Float.valueOf the same number gives NumberFormatException

Using Arabic number Integer.valueOf("۱") returns integer 1 but Float.valueOf("۱") or Float.parseFloat("۱") throws NumberFormatException while it won't throw any exceptions if you use English number Float.valueOf("1"), is it a bug in java or there's…
Alireza Jamali
  • 302
  • 2
  • 6
  • 17
5
votes
1 answer

Does Org-mode support RTL Languages like arabic

Does Org-mode support RTL Languages like arabic ? The objective is to prepare and typeset a book in arabic script and export it as PDF for print.
Ibn Saeed
  • 3,171
  • 11
  • 50
  • 59
1
2 3
16 17