The Farsi tag is for issues relating to Persian (Farsi, فارسی, پارسی) language.
Questions tagged [farsi]
247 questions
0
votes
0 answers
Show unknown characters (????) instead of persian characters when trying make requests with devices with android api 16 and lower
Hi i'm developing an android application in android studio in java that send sign up information to the server, i'm using volley library to make HTTP requests(GET method) and for my server side i'm coding with php to get information from client…

Yazdan
- 27
- 6
0
votes
1 answer
working with dataset containing Persian records
am working on a data set containing Persian records, I installed Persian and unicodcsv, but still have this error.
df = pd.read_csv('datasets\NSIA.Individuals.csv')
df.head()
the error I get is:
SyntaxError: (unicode error) 'unicodeescape' codec…

Awen Karimi
- 11
- 3
0
votes
0 answers
reading Persian string from .ini File
I save a parameter (a Persian text) manually to .ini File. Now I want to read it in C# (WPF) using this Code:
[DllImport("kernel32", CharSet = CharSet.Unicode)]
public static extern int GetPrivateProfileString(
string Section,
string Key,
…

Babak.Abad
- 2,839
- 10
- 40
- 74
0
votes
0 answers
sort persian words in vue tables
In utf-8 there are some characters that is not in Arabic like : گ چ پ ژ but in the Persian exists.
When I'm using jd-vue-table or any vue table, sorting is according to Arabic, and the specified characters are at last of the list. but پ that is…

Hamid Shariati
- 546
- 6
- 18
0
votes
1 answer
wrong character showing when insert persian string to sql server using poco ODBC
I am trying to insert Persian string like "سلام" to SQL server 12 database with Poco ODBC. But in the database I see Characters like this "ط³ظ„ط§ظ…". the column data type is varchar(I try it with nvarchar too) and I test it with different Collation…

Nader
- 318
- 1
- 6
- 16
0
votes
3 answers
NVARCHAR SQL type problem with Persian char
I have a problem in SQL with NVARCHAR type and Persian char 'ی' and 'ک', I have some records in a Table like:
+----- Name ------+
+----- علی ------+
When I want to select from this Table like:
select * from [Table] when Name like 'علی'
select *…

wakiwiki
- 231
- 4
- 13
0
votes
0 answers
Mono winforms failed to render Persian text
I'm trying to run a Persian application in mono. But the texts are disconnected and reversed.
I'm running this app on Ubuntu 19.04 and I also tried running it on a Raspberry pi (Raspbian) but no deference.
I also tried setting LANG environment…

Erfan Azhdari
- 301
- 2
- 6
0
votes
3 answers
read a *.CSV file with Persian(farsi) column in R
I am trying to read an excel file that has some companies data in R, companies names are in persian but when I read the files into R, the companies names don't readable, I'm trying this code to read my data
read.csv("book.csv",encoding = "UTF-8")

Sam2n
- 41
- 5
0
votes
1 answer
use bidi for bidirection a model.txt
i want to use lines of model.txt in my code but all of words in lines are persian(Right to Left).i use this code for correct them but its give me error.
i know how i can solve error but if i change my lines to strings i cant correct their shape and…

Jalal Razavi
- 203
- 3
- 8
0
votes
1 answer
convert html to pdf i angular 5
I must be convert html elements to PDF, but I don't want to use html2canvas, because this package convert html image at first, then convert to pdf. this way didn't efficient for my needs.
I used latest version of jspdf ( 1.5.3, that said support…

KoKo
- 421
- 1
- 5
- 21
0
votes
1 answer
How to use non-English characters in Godot?
I want to use non-English characters in Godot, but when I write them (In every node, like a Label or a Button) and run the project, the text does not display. For example, I write some Arabic characters in a Label and run the project, but I do not…

Kazem forghani
- 19
- 1
- 9
0
votes
1 answer
Can not remove again the character I added using JS
For some reasons I add zero-width joiner to a keyword. I want to exclude adding it when the keyword is in start of new line but I can not remove it again.
I guess two reasons for this problem but I have no idea how to solve the problem in both…

Ali Sheikhpour
- 10,475
- 5
- 41
- 82
0
votes
1 answer
get persian ( farsi link ) charachter in utf
I'm very novice in php and I have a script to get information from some Persian music website.
I have problem with get Farsi character from website:
$this->fa_artist = $html->find('div.main-post', 0)->find('p', 0)->find('b',…

Alireza
- 1
- 3
0
votes
1 answer
How to make textarea lines auto direction line by line?
I'm having a problem with making textarea lines right-to-left for Persian and Arabic and left-to-right for English or others.
I can make the whole textarea auto direction but what about split lines of the text in textarea?

Amir RS
- 1
- 1
0
votes
1 answer
Farsi.Library 2.7.0 Fails to install
I tried to install Farsi.Library 2.7.0 through the NuGet Package Manager Console.
But following error occurs:
Install-Package : Could not install package 'Farsi.Library 2.7.0'. You
are trying to install this package into a project that targets
…

RafiO
- 113
- 1
- 3
- 9