The Farsi tag is for issues relating to Persian (Farsi, فارسی, پارسی) language.
Questions tagged [farsi]
247 questions
0
votes
0 answers
changing Persian font via script doesn't work unity
i have a strange problem to changing Persian(right to left languages) Font via script. when i got my text from webservice and aftar converting that to the correct veiw using Unity3DFarsi library,i loaded my Font where placed in Resource folder in…

R.T
- 23
- 1
- 4
0
votes
1 answer
Farsi in mongoDB
I want to add some farsi data into a table in mongoDB, but every character has been showed as a unknown character.
how to add farsi data fields into a collection (table) in mongoDB database?
user5381028
0
votes
1 answer
Multi-language styles within a single element with CSS
High. I am developing a simple website that contains multiple languages (English and Farsi to be exact).
Now I know how to define a style for each language separately if they are separated by elements (i.e.
,
, , etc.). The way to…

Mohammad Gharehyazie
- 335
- 2
- 3
- 13
0
votes
0 answers
Displaying Farsi legend and tooltip of highchart in Farsi moodle page correctly
I use Highchart in my Farsi(Persian) Moodle site. When i use this chart in a Farsi page, it's legend and tooltip were show badly like an image in this link:
use Highchart in Farsi Moodle page with Farsi data
What i must do??
When i use Highchart…

z.gomar
- 372
- 2
- 11
0
votes
1 answer
How can I use a different ttf fonts for certain utf-8 characters in emacs?
I want to use SourceCodePro as my default font but it doesn't cover persian characters which are in the scope of for example #x0600 untill #x06FF.
I tried somthing like this
(set-fontset-font t
'ascii
"Source Code…

Shahab Shahsavari Alavidjeh
- 51
- 1
- 3
0
votes
1 answer
Numbers wrongly shown right to left anywhere
I'm having a problem with my Huawei y600 Android phone in stock rom. The problem is with numbers. They are shown correctly when language is English (left to right), but when I change the language to Farsi (right to left; My native Language) the…

Mohsen Hasannezhad
- 11
- 7
0
votes
0 answers
Fill textview text with csv file of persian words
I have a csv file of persian words. I want to read from it and show those words on android textview. Reading from file is ok but the problem is that it always shows diamonds with question mark on it for textview text. (When I put persian words…

HaMi
- 539
- 6
- 23
0
votes
2 answers
how to send farsi text from android to sql server DB in android with WCF
I have made a webservice and some web methods that I call in my android application with ksoap work.
One of these methods gets a Farsi string and inserts it into the database but when I back out and check I see only question marks(?) instead of…

Payam
- 36
- 5
0
votes
1 answer
Farsi regular expression in Python
I have this Python regular expression code in Python 3 that I do not understand. I appreciate any help to explain what exactly it does with a few examples. The code is this:
# encoding=utf-8
import re
newline =…

TJ1
- 7,578
- 19
- 76
- 119
0
votes
1 answer
I use visual studio 2012 in windows 8 ASP design view shows Square for unicode characters
I really need help for this because when I write my code in source view, I have no problem but when I view it in design view it shows square instead of farsi characters.
how can I solve this problem?
0
votes
1 answer
Is there a better way to write this name conversion function in php?
Persian day names are different than English, and also week starts Saturday. So I have this weekday name and number conversion function:
function getDayNames($day, $shorten = false, $len = 1, $numeric = false)
{
$ret = '';
switch (…

Sallar
- 730
- 1
- 9
- 23
0
votes
1 answer
Why pointer show unicode string reversed?
I have problems with unicode strings. My pointer to a string in farsi (saved as Unicode, codepage 1200) return the string reversed. Why? I know that farsi is a right-to-left language, but this is a C/C++ matter. My pointer to a string should point…

JAL 1
- 1
-1
votes
1 answer
Disorganization of Persian-English sentence in word file (.docx) created by Apache POI
When I try to create a paragraph with English-Farsi words (first photo), and using Apache POI to create .docx file and save the paragraph or save to table, the sentence becomes messy and unreadable (second photo). How to solve this problem?
You can…

nik ravan
- 1
- 3
-1
votes
1 answer
How to fix the confusion in the combination of Persian letters and numbers
Well, the problem is that the combination of Persian letters and numbers in the output of my script looks like this:
456b123
If it should be like this:
123B456
Note :For those who do not know the Persian language format,In Persian, letters are…

keyvan doostkam
- 1
- 5
-1
votes
1 answer
Count of repeated persian words in columns with python
What I have:
I have a DataFrame (df) with 2 columns.
In df["Words"] I have some Persian\Farsi words.
Words
Counts
سلام
کشور زیبا ؟
28 % ایران
ایران طلا
طلا ایران
سلام ایران
What I would:
I would separate the words and…

Jsmoka
- 59
- 10