Questions tagged [arabic]

1

votes
1

answer
1.2k

Views

Concat arabic and english string with string.Format()

Have some trouble with concat two string. return string.Format("{0}{1}{2}", IdWithSubType, ExtraInfo.Any(info => info.InfoType == UniExtraInfoType.Alias) ? string.Format(" ({0})", string.Join(",", ExtraInfo.First(info => info.InfoType == UniExtraInfoType.Alias).Info)) : "", Context != null ? string....
0

votes
0

answer
40

Views

Tableview cellForRowAt indexPath not getting called after language switch in iOS

I have a table view which works properly on app launch. When I switch app language and tap on a calendar text, it calls a delegate method for filtering the data, sets a flag and tableview is reloaded. In table view delegate methods, I check the flag and gets the data from appropriate array. The arra...
jsloop
-3

votes
1

answer
22

Views

Setting UILabel text alignment to center not working in English locale switch from Arabic in iOS

I have a UILabel which I want to align center. When I choose align center in storyboard, it works fine when the language is Arabic, which is the default. If I switch to English, it aligns to left. I tried adding in code bioLabel.textAlignment = .center, but does not work properly. How to align UILab...
jsloop
2

votes
1

answer
2.4k

Views

How to convert Arabic text to speech in an Android app?

How to convert arabic text to speech in an Android application while the current Android TTS does not support the Arabic language? Please, I want my app to read arabic text.
Islam Ashush
1

votes
1

answer
893

Views

Right-to-left input field - Tag-it jquery UI plugin

Tag-it is a jquery UI plugin that allows assigning tags from front end, exactly like tags system in stackoverflow. http://aehlke.github.io/tag-it/ https://github.com/aehlke/tag-it/blob/master/README.markdown In fact, after calling required scripts inside my , I just put in my code source: And call...
1

votes
2

answer
1.6k

Views

php regex to find words in string starting with # and not have any more repeated #

I'm looking for a regex to find words in string starting with # and not have any more repeated # Given: Hi I'm #hany #هانى my Friend #john#john is ##here . good bye#all . I want the final result as this: Hi I'm #hany #هانى my Friend #john#john is ##here . good bye#all . I'm using this: echo...
Eng Hany Atwa
1

votes
1

answer
215

Views

non-english languages iOS apps XE4 issue

I tried non-english languages such as Arabic Language in my hello world XE4 iOS App, but when running the App on the simulator or even on the device all non-english characters appears empty! I tried MessageBox and this is OK, the problem is exists for components, any clue?
RezaRahmati
1

votes
1

answer
717

Views

perl uri_escape_utf8 with arabic

I am trying to escape some Arabic to LWP::UserAgent. I am testing this with a script below: my $files = "/home/root/temp.txt"; unlink ($files); open (OUTFILE, '>>', $files); my $text = "ضثصثضصثشس"; print OUTFILE uri_escape_utf8($text)."\n"; close (OUTFILE); However, this seems to cause the...
user567602
1

votes
1

answer
1.6k

Views

Not able to convert arabic characters encoded in latin1 to utf8

I have a MySQL table with arabic strings. But the table character set is latin1. I want to convert the same to utf8 so that the table can be displayed properly. I have gone through this: http://www.bothernomore.com/2008/12/16/character-encoding-hell/ But it did not work for arabic characters. I hav...
sam
1

votes
2

answer
1k

Views

Arabic language being copied in reverse on xcode?

I have a language file in excel.It has a set of arabic strings. When I copy the strings to xcode they are copied in reverse.I see reverse strings.How do I get rid of this problem. EDIT: Seems the problem is only with xcode.When I copy the same string from xcode to some other place like google transl...
zzzzz
1

votes
2

answer
1.7k

Views

Arabic caracters in html to pdf using iText

I've gone through avery iText topic related to arabic caracters on stackoverflow already, but didn't find an answer for this one. I need to convert an html file in to pdf, but this html contains both english and arabic caracters. Displaying the html in Notepadd++ or in any browser, there is no probl...
A.LnG
1

votes
3

answer
1.3k

Views

newline for Arabic or urdu string

string s = ""; s += "پاکستان کے وزیراعظم نواز شریف نے یقین دہانی کرائی ہے کہ صحافی حامد میر پر قاتلانہ حملے :TV"; s += "\n\r"+"بی بی سی اردو کا آفیشل ٹوئٹر اکاؤنٹ۔:BBC Urdu's"; xrLabel1.Text = s; but i...
sms247
1

votes
2

answer
2.5k

Views

Font that makes Arabic and English look of a similar size when set to the same font size

I am developing a website that support both English and Arabic. The problem is that when I use a specific font size, English looks bigger that Arabic. I know how I can work this out using CSS but if there are fonts that overcome this by default that would save time and make future updates easy.
Sami Al-Subhi
1

votes
1

answer
1.1k

Views

Jquery based Arabic Keyboard [closed]

Came across a requirement where I need to use virtual arabic keyboard so that people can type in directly in the text fields (e.g of arabic keyboard https://www.branah.com/arabic) . I googled and came across some paid snippets. Do we have any opensource/free jquery based arabic keyboard?
Danyal Sandeelo
1

votes
2

answer
4.5k

Views

Arabic text does not display correctly

So I'm editing a standard HTML page. The charset is set to "utf-8" in the head. The direction on the span selector is set to "rtl" using the CSS property direction (I've also tried the html dir attribute too). I've also tried a number of Arabic specific fonts too. This is the what is happening: It...
Mark Notton
1

votes
1

answer
2.6k

Views

Text view displays Arabic characters as question marks “?????”

I'm working on an android app that displays a textviews with mixed Arabic and English words; the app displays Arabic text that I wrote inside Java classes as question marks ????? here is a screenshot: The Code: if(tCat.equals("StandardT_")){ serviceLine="Operations / خدمات عامة"; } tv.setTe...
Ahmad Sanie
1

votes
1

answer
17

Views

How to properly set two different fonts in Android Theme

I have an android application with english and arabic as choosable langagues. My problem is that I need to use a specific font for each langague. What is the proper way to implement this ? My idea was to create two different themes in styles.xml, like this : ... all my others attributes ... fonts/Fo...
Zat42
9

votes
0

answer
372

Views

ligatures are not working with Arabic text on firefox

Firefox and Safari are not rendering text using fonts with Arabic ligatures Here is one sample glyph form svg font: Tried replacing arabic ligatures with english text and it works! What's wrong with these two browsers ? how can I fix the problem, am I doing something wrong with ligature? DEMO: ht...
Naveed
1

votes
1

answer
2.9k

Views

how i can display arabic letters in cmd

can any one give my solution to display the arabic letters in cmd i tried to use chcp 1256 and chcp 62001 in cmd but it does not show the arabic letters correctly but when i search in the internet i found someone who said there is solution but it needs some files in windows 95 or windows 98 but i a...
user3752270
2

votes
4

answer
4.2k

Views

Arabic language in android [closed]

android still not fully support Arabic language even in last version 2.3 and maybe not in 3.0 also any way i am programmer if i want to make it Arabic support how to start to make it fully support Arabic ? because i found some the companies like Samsung and HTC add fully Arabic support to there devi...
PHP4PRO
11

votes
2

answer
5.1k

Views

What is Alef Hamza? [closed]

I found this one, in the Find box (as Search criteria) of the document viewer. What is supposed to match?
OrElse
1

votes
2

answer
68

Views

Apply operators (+, -, *, /) to Eastern Arabic numbers using Javascript

Many answers has been found how to convert Eastern Arabic number (٠١٢٣٤٥٦٧٨) to Western Arabic number (01234567) & vise versa. However, is there a way to apply mathematical operators on Eastern Arabic numbers . I am looking for something like following : '١٢٣'+'١١٢'==235 '١٢٣'-'...
Abdallah Ghrb
2

votes
4

answer
1.3k

Views

Code for searching in a String if it contains a Char[] array?

I'm developing an app that has a feature to search a text (searchString ) in Arabic language if it is in a .txt file (.txt file is also in Arabic language). Since Android doesn't support Arabic 100%, String.indexof() doesn't work properly. So, I thought, I would put the searchString into a Char[] ar...
Omar
13

votes
3

answer
4.8k

Views

Open-source OCR library for Arabic [closed]

I was looking around for an OCR library - optimally it would be open-source - that I could use on some Arabic pdfs. Googling it didn't result in anything useful. I was wondering if anyone knows a related OCR library or even one that works on related languages (Farsi and Urdu could be relevant) that...
Mohammed
2

votes
1

answer
2.8k

Views

Arabic text inserted by Autohotkey gets scrambled in Notepad++

In the php section a similar problem was discussed. My problem has to do with either NotePad++ or either the AutoHotKey compiler. The Arabic text inside Notepad++ can by typed, saved and loaded correctly. When I compile with AutoHotKey and display the string containing the Arabic I typed with listva...
Khalil
17

votes
2

answer
3.4k

Views

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 font is the correct one for Quranic text with compl...
Mumthezir VP
1

votes
3

answer
7.9k

Views

Arabic characters don't show in excel VBA code

I can't write arabic strings in VBA code in excel, it shows as weird characters. Tried it on many machines with excel 2013 or 2010, on windows 8 or windows 7, with or without arabic proofing tools installed. Arabic language is already installed on all machines, system locale is arabic. There's no pr...
CloakMaster
1

votes
1

answer
868

Views

Python/Django and an Arabic Document Search Application

I have some background in Information Retrieval from my master's degree days. Now I want to put that to use in building a document search application for a book that's written in Arabic. My primary tools are Django and either PostgreSQL or MySQL depending on the suggestions posted here. I've been d...
Sam Hammamy
17

votes
6

answer
15.4k

Views

Convert from English Digits to Arabic ones in html page

I need to convert all English numbers that appear in a given HTML page to Arabic ones (to be independent from the user browser encoding). I prefer to use javascript or it will be great if this can be handled using CSS. I found some pages doing this but I found that the Arabic letters are added with...
Sarah
18

votes
4

answer
4.1k

Views

In Unicode, why are there two representations for the Arabic digits?

I was reading the specification of Unicode @ Wikipedia (Arabic Unicode) and I see that each of the Arabic digits has 2 Unicode code points. For example 1 is defined as U+0661 and as U+06F1. Which one should I use?
Karim
15

votes
5

answer
16.4k

Views

Arabic language with Sublime Text editor

I have a problem with sublime text editor that RTL languages are not supported! I try this plug in Bidirectional text support with windows os I have copied all files from the zip Sublime-Text-2-BIDI-master into the ST3 folder and changed the font type and size... then I copied over the unicodedata....
Dania Delbani
4

votes
2

answer
453

Views

Arabic font breaks on iOS app

We are working in iOS app and we are using "Adobe Arabic" and "Tahoma" font. Both fonts in some area break. For example Tahoma breaks by adding space between in a single word as shown in image below Not sure why this is happening for some works. We have similar issue for Adobe Arabic for some Arabic...
Learning
1

votes
4

answer
229

Views

Arabic support in LiveCode

i use LiveCode 6.0 community edition, when i try to make a label in the GUI using an Arabic text it displays it, but from left to right not from right to left[RTL] . is it possible to display a text in LiveCode using RTL?
Madno
2

votes
3

answer
865

Views

regular expression to detect numbers written as words - UTF-8 input

thanks for the answers to : "regular expression to detect numbers written as words" : regular expression to detect numbers written as words I now have this working, however I have the same requirement but the numbers as words are in Arabic (or any other UTF-8) and not English, so : if (preg_match("/...
Sherif Buzz
6

votes
1

answer
197

Views

Why are String.IndexOf and String.Contains disagreeing when provided with Arabic text?

I want to know if I found a bug in the .NET Framework, or if I don't understand something. After running this piece of code: var text = "مباركُ وبعض أكثر من نص"; var word = "مبارك"; bool exist = text.Contains(word); int index = text.IndexOf(word); The results are the "exists =...
gil kr
2

votes
7

answer
2.2k

Views

urlrewriting.net not accepting arabic query string

i am going crazy, i have tried everything, urlencode, html encode, but urlrewriting.net is reading Arabic querystring as ?? charecters totally appreciate the help
DevMania
2

votes
3

answer
6k

Views

Using @font-face CSS stylewith an Arabic font?

I am writing the following CSS code to create font face style using an Arabic font, and i am using windows OS... the problem that browsers doesn't read it, i am testing on chrome, firefox, explorer and opera... the four browsers doesn't recognize the font... here is my CSS code... @media screen, pri...
Dalemo
4

votes
2

answer
846

Views

R input file arabic?

I am writing a program that reads arabic text from a text file in R, whenever i read the file i get the following errors: Warning messages: 1: In read.table("C:\\Users\\Mustafa\\Desktop\\arabic.txt", sep = "\n", : invalid input found on input connection 'C:\Users\Mustafa\Desktop\arabic.txt' 2: In r...
user1781405
5

votes
1

answer
115

Views

Width of seperate letters in compound words of arabic content

I have arabic content which is compound of words like ضضضضضضض. I want to get the width of the first letter of a given word ( which is not the same as the width of an independent letter i.e. ض ). I used getBoundingClientRect() method and tried to get the width , but it is giving the width...
psp psph
5

votes
4

answer
726

Views

SQL Server not difference between 'ی' and 'ي' in Arabic_CI_AS collation

I'm using ASCII function for getting equivalent ASCII code of two characters, but I'm surprised when seeing there is no difference between 'ي' and 'ی', can anyone help me? SELECT ASCII('ي'), ASCII('ی')
Hussein PK

View additional questions