The Farsi tag is for issues relating to Persian (Farsi, فارسی, پارسی) language.
Questions tagged [farsi]
188 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
- 11
- 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
- 79
- 1
- 10
-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
- 5,601
- 17
- 61
- 101
-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
How to check a Persian date between two Persian dates?
My Persian date format can take one of these formats: mm/YYYY or YYYY/mm
There is no day information, just year and month.
I want to check a Persian date between two Persian dates:
For example, 1400/01 is between 1399/07 and 1400/03
How can I do…
Alex
- 31
- 6
-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
- 105
- 9
-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
- 5,154
- 1
- 23
- 56