Questions tagged [farsi]

The Farsi tag is for issues relating to Persian (Farsi, فارسی, پارسی) language.

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…
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…
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 ٬…
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…
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…
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 =…
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…
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.
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…
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…
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
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…
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…
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…
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…
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:
1 2
3
12 13