The Farsi tag is for issues relating to Persian (Farsi, فارسی, پارسی) language.
Questions tagged [farsi]
247 questions
-1
votes
1 answer
material design bootstrap right to left Direction
I am using Material Design Bootstrap for React and iIwant to use it for Persian mood.
Is there any solution for right to left direction.
-1
votes
1 answer
get distinct persian month from timestamp in mysql
I need to get distinct persian month from the timestamp field in mysql table.
this is my query:
select distinct month(startTime) from times where subset_id='$subset_id' ORDER BY `id` DESC
but it returns a distinct Gregorian year and I can`t use…

Mohsen Moradi
- 21
- 1
- 3
-1
votes
4 answers
how to turn a Persian (Farsi) paragraph into its list of words in Javascript
I am trying to make an object out of a paragraph that shows words with their frequencies.
var pattern = /\w+/g,
//the farsi paragraph
string = "من امروز در مورد مهر خروج مشمولین اطلاعات جدیدی از سفارت ایران در مالزی گرفتم",
matchedWords =…

Mahanmeh
- 89
- 2
- 11
-1
votes
2 answers
Farsi regular expressions with Ruby
I don't know much about Ruby, but I have this line of code that I would like to know what it exactly does:
newline.gsub!(/\s+(های)\s+/,'\1 ')
I appreciate any help on this.

TJ1
- 7,578
- 19
- 76
- 119
-1
votes
1 answer
Arabic code point range in python
i have a code below which Liang Sun implemented
#Created by Liang Sun in 2013
import re
import collections
import hashlib
class Simhash(object):
def __init__(self, value):
self.f = 64
self.reg = ur'[\w\ufb50-\ufdff]'
…

NZrMd
- 25
- 11
-2
votes
1 answer
Icons are not shown and pictures lost quality after changing font in opencart
I'm using opencart in farsi language and I decided to change the font of my website. First I tried to change the font style in "body" element in css. But unfortunately it didn't work. Everything was done carefully, I used "font-face", uploaded…

Reza Namvar
- 129
- 11
-4
votes
1 answer
Create vector with Farsi names. C++
I am aiming to create an std::vector with Farsi names. But as soon as I compile this I get this error:
This seems to be a unicode issue. Any suggestions how to fix this?

Eduard Rostomyan
- 7,050
- 2
- 37
- 76