Questions tagged [farsi]

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

247 questions
7
votes
1 answer

Persian (farsi) numbers in highchart

I use Highcharts to draw some charts. My language is Persian (Farsi) and I want to draw charts with Persian numbers. But in Highcharts all numbers show in English. Is there a way that I show numbers (all numbers: yaxis,tooltip, ...) in Persian?
narges
  • 681
  • 2
  • 7
  • 26
7
votes
10 answers

How to convert english numbers inside a string to Persian/Arabic numbers in Objective-C?

I have an english string that may or may not have numbers. But i want those numbers to be printed on screen as Persian numbers. For example if NSString *foo = @"a string with numbers 1 2 3;" then output should be a string with numbers ۱۲۳ The code…
Sobhan
  • 1,051
  • 2
  • 13
  • 29
7
votes
1 answer

Persian character encoding in oracle database

I have got a problem with saving Persian characters like ("ی" or "ک") into oracle database. I receive correct encoding from a client, but when I insert the related record into the database, it will be saved with Arabic encoding like this ("ي"). The…
mahnaz ebrahimi
  • 111
  • 1
  • 10
6
votes
1 answer

Use Full Text Search for Persian Language

I see supported language in full text search (SQL Server 2012). Persian (Farsi) does not exist in list. But as I know, there is a way to use full text search for Persian language with adding custom dictionary, using Arabic language and etc. Please…
6
votes
0 answers

How to fix ffmpeg & mencoder pushing Persian (RTL) subtitles reversed?

I'm trying to build an application to burn subtitles on videos. The specific task to do is burning Persian (Right-to-left language) subtitles. But I have a problem with it. When I got several words simuntaneously without any "Enter" between them,…
sheshkovsky
  • 1,302
  • 3
  • 18
  • 41
5
votes
1 answer

how can I detect farsi web pages by tika?

I need a sample code to help me detect farsi language web pages by apache tika toolkit. LanguageIdentifier identifier = new LanguageIdentifier("فارسی"); String language = identifier.getLanguage(); I have download apache.tika jar files and…
aliakbarian
  • 709
  • 1
  • 11
  • 20
5
votes
0 answers

Flutter web parentheses problem with rtl language + html renderer

The problem shows up when an RTL language (Persian) text containing parentheses () symbols (or <> symbols) is placed in a Text widget and we build for the web using html renderer (flutter run --web-renderer html). This is the code (It's pictured to…
navid
  • 1,022
  • 9
  • 20
5
votes
1 answer

Convert English numbers to Persian numbers for ggplot

I am working on a data visualization project using ggplot2. All numbers obtained in the plot (Includes axis-x and axis-y and numbers inside the plot) are in English format like the below plot: but I want the numbers in all plots to be Persian…
rezgar
  • 114
  • 8
5
votes
1 answer

applying style on contextual characters breaks the words

I have problem in Arabic and Farsi characters as they have contextual (connetced) characters, When I want to indicate a keyword, the words that contain that keyword , break to smaller words. My question is how to apply css styles on keywords without…
Ali Sheikhpour
  • 10,475
  • 5
  • 41
  • 82
5
votes
2 answers

Writing persian ( farsi ) by class wfstream in output file

How can I write Persian text like "خلیج فارس" to a file using a std::wfstream? I tried following code but it does not work. #include #include #include int main() { std::wfstream f("D:\\test.txt", std::ios::out); …
SaeidMo7
  • 1,214
  • 15
  • 22
5
votes
1 answer

Arabic text in R graphics

I'm having a problem with plotting Arabic text, it looks good on the console, but it doesn't show up quite right. (flipped & separate letters) Code: x<-"السلام عليكم" > x [1] "السلام عليكم" > plot(1:10,main=x) gives Some relevant session info: R…
Fahd
  • 353
  • 6
  • 17
5
votes
2 answers

sqlite database in persian language

I tried to create a sqlite database from a csv file. I did it as it is said in this page : using your own sqlite db in android and this : import csv to sqlite but the problem is when the table contains data in farsi/arabic language. sqlite shows…
shohreh
  • 526
  • 9
  • 20
5
votes
2 answers

Persian @font-face doesn't work in Chrome, Bug or not?

Not sure if I'm heading a bug in Chrome or something is wrong with my CSS Here is a demonstration of what I'm talking about: demo link The problem is that I'm using a custom Farsi font in my website named as BMitra (it is absolutely free in public…
Sepehr
  • 2,051
  • 19
  • 29
4
votes
1 answer

Why 'ARABIC LETTER PEH' is not shown correctly on Android 3.x?

In Unicode characters the ARABIC LETTER PEH INITIAL FORM 'ﭘ' is 0xFB58. When I use the following code to show Unicode characters, everything is OK for every Unicode character in Android 2.2, 2.3. and 4.x But I have problem with ARABIC LETTER PEH…
Bob
  • 22,810
  • 38
  • 143
  • 225
4
votes
1 answer

VSCode IDE messes up RTL strings after selecting

Recently, I had to reinstall windows 11 on my machine. So, after that, I had to install VSCode again (therefore, I have the most recent version of VSCode). Now, whenever I select any Persian sentences (strings) in my code, the IDE shows a messed-up…
TheFaultInOurStars
  • 3,464
  • 1
  • 8
  • 29
1
2
3
16 17