The Farsi tag is for issues relating to Persian (Farsi, فارسی, پارسی) language.
Questions tagged [farsi]
188 questions
4
votes
2 answers
Dipaly farsi text in android webview (for phones not supporting farsi)
In farsi letters are attach together to form writing scripts. However when I save HTML pages using "UTF-8" or "Windows-1256" encdoings, and try to display them using webview in android, letters are diplayed seperately and in left-to-right direction…
![](../../users/profiles/1080355.webp)
VSB
- 7,800
- 11
- 59
- 121
3
votes
1 answer
Encoding Persian string using C#
I am developing an SMS application using C# for the bank which sends transaction alerts i.e. ATM transactions to the customer through the SMS gateway. The application is working fine, the only issue is encoding the Persian text, it doesn't encode…
![](../../users/profiles/5073359.webp)
Hizbullah Watandost
- 111
- 9
3
votes
1 answer
Override Number.toLocaleString("fa-IR") and change its thousands separator character for Persian numbers
I need to reformat numeric values based on the local format, and to do this I use Number.toLocaleString("LOCAL") function. In Iran, the majority of people prefer to use , as a thousands-separator-character, but Number.toLocaleString("fa-IR") use ٬…
![](../../users/profiles/3881354.webp)
Elyas Hadizadeh
- 2,142
- 7
- 28
- 44
3
votes
2 answers
How can I change the font of the Time4J CalendarPicker in JavaFX?
Is there a way to change the font of Time4J CalenderPicker in css-style?
I needed a Persian DatePicker in my program so i used Time4J CalenderPicker.
using this code i could change only the font of cells:
CalendarPicker MyDatePicker…
![](../../users/profiles/11295226.webp)
Ahmad
- 77
- 5
3
votes
4 answers
Can not replace a special combination of characters using javascript
I want to remove all which have character "ا" after from a paragraph. I use the following method but console says that this combination is not found. Please consider that this is Persian word and the character "ا" is instantly after as…
![](../../users/profiles/4700922.webp)
Ali Sheikhpour
- 8,724
- 4
- 29
- 66
3
votes
0 answers
Apache PDFBox 2 Farsi/Arabic Text Extraction Issue with Some Characters (Wrong Output)
I am using Apache PDFBox 2.0.11 to extract text out of some PDF documents using the PDFTextStripper class. Here is the code used for extraction:
String pdfFilePath = "path/to/file.pdf";
PDFTextStripper pdfStripper = null;
PDDocument pdDoc =…
![](../../users/profiles/1727705.webp)
Dozham
- 57
- 1
- 9
3
votes
2 answers
Xamarin Listview doesnt follow the rtl direction
Helly guys.
Im learning xamarin and trying to make a basic food app for android. This app is in RTL direction. Now i have a Listview in my main content which contains a list of custom layouts. Here is a look at this custom layout. I is RTL in…
![](../../users/profiles/4596741.webp)
Saeed Asgari
- 199
- 11
3
votes
1 answer
Android Programming Does not support Farsi Language
I am trying to write a new Android program in Farsi language, but charachters just have shown separately in XML file and when I run the emulator the characters have shown separately! Plaese give me step by step procedure to solve this problem.
![](../../users/profiles/4292344.webp)
Amin
- 231
- 1
- 11
3
votes
3 answers
Adobe Premier CC - Farsi Titles are shown Separate and Reversed
I am using Adobe Premier Pro CC v8 for subtitling a video clip in Persian. Texts in titles are shown as sequences of separate letters and are being typed in reverse. I used several Persian fonts and reduced kerning to 0, which did not help. I also…
![](../../users/profiles/3848442.webp)
hana
- 31
- 1
- 3
3
votes
1 answer
Farsi app_name doesn't show correctly in android 2.2 and 2.3
I'm new to android and I'm developing an app in Farsi.
Farsi characters are not shown correctly in android 2.2 and 2.3. The characters are shown separately
This link solves the problem for the code
How to support Arabic text in Android?
But I…
![](../../users/profiles/1073484.webp)
Tina
- 818
- 10
- 32
3
votes
5 answers
Farsi/Arabic number to be outputted properly
You have a file that outputs as such:
1
2
$i = 3; echo(i) ?>
Which outputs:
1
2
3
Now if I want to have an output as below:
?
?
?
Well, I was hoping I could output the Arabic/Farsi version of…![](../../users/profiles/247856.webp)
Mazzi
- 897
- 4
- 10
- 29
3
votes
4 answers
How to use Codeigniter routes with UTF-8 like Arabic characters 404
I am trying to use Arabic/Persian/Farsi character in the URL as a slug in Codeigniter like so:
I created MY_url_helper.php helper file to add the Arabic characters as accepted characters in the url_title Codeigniter function
/**
* Create URL Title…
![](../../users/profiles/1431096.webp)
Waqleh
- 8,454
- 8
- 61
- 91
3
votes
2 answers
How to enter RTL string for Android TextView
I have an Android application which I wrote for english language now I want to convert it to farsi/persian language. I want to know how can i type persian text for the TextView text.How can i maintain both the english and persian String.xml.please…
![](../../users/profiles/1379059.webp)
ZAJ
- 751
- 3
- 20
- 43
2
votes
3 answers
How prevent connecting Farsi Characters?
I have a problem, but maybe this is not a problem actually! Why below HTML markup is generating a result which seems to be incorrect even using Standard Fonts like Arial?
سلامخداحافظ
سلامخداحافظ
Above output shouldn't be…
![](../../users/profiles/132917.webp)
Sadegh
- 3,875
- 7
- 40
- 73
2
votes
1 answer
How to get Persian And Arabic Characters in php
I Want To Get Ascii Code from Persian characters.
My Code:
![](../../users/profiles/14536524.webp)
Mahdi Khezrabadi
- 41
- 3