Questions tagged [farsi]

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

247 questions
0
votes
1 answer

How to show English DateTime to Persian one- PHP

This is a table, it has a field named register_date which is automatically added by DB as a TimeStamp. I want to show this field as a Persian DateTime. like this image below: and here is my php piece of code:
Unique631
  • 61
  • 1
  • 8
0
votes
0 answers

changing date input language without using 3rd parties component in angular

in my angular project , I faced a component where I have a date input. the project language is Farsi(Persian) and I need to change the default date input language without using 3rd party libraries. I know its sounds odd but I really cant add…
0
votes
1 answer

how to change default persian fonts in arch

I'm new at arch and have a big problem with it and it's Persian fonts are very ugly! This is in all applications (chrome ,games ,gnome menu etc.). What I can to do ? Thanks for your attention.
mohali
  • 3
  • 2
0
votes
0 answers

Java: How to manually turn Arabic characters into their glyph form

From what I understand, it's up to fonts to turn Arabic (and Persian) characters from their canonical forms (Unicode around 600) to their glyph forms (Unicode around FB00) where appropriate. (Arabic letters can be connected to their last and/or next…
0
votes
1 answer

Create new dataset by Google Translator

I want to create dataset in Persian using google translation API. I want to use GoEmotions dataset. I do not know where should I start. Can somebody help me?
0
votes
0 answers

Remove letters when using UTF-8 in python

I face a weird problem when I use UTF-8 and the Persian language in python. When I want concat two strings with half-space ('\u200c') the last letter of the second word has been removed. Here is an example: "ماشین+\u200c+ها" should be "ماشین‌ها" …
Mahdi Akhi
  • 11
  • 8
0
votes
2 answers

Persian text in SVG is falling apart

I have an SVG with persian text in it. for example: سلام دنیا which means Hello World But when I open my SVG in browser, it will falling appart!
0
votes
1 answer

Convert Numbers of date to Persian numbers

I want numbers of date to be converted into the Persian numbers , I tried, it converts all of numbers in page except date Here is my code Demo https://jsfiddle.net/dpcu2o57/16/ /* Counter */ var countDownDate = new Date("Dec 5, 2022…
Amin
  • 31
  • 5
0
votes
1 answer

how add Persian Calendar to Hugo

Hugo only uses the Gregorian calendar because of the use of the Google language. And Hugo does not support Plugin. Is it possible to automatically convert html files to Persian calendar using npm packages like this…
0
votes
1 answer

How to convert Gregorian or Timestamp date to persian date in the Higcharts in angular

I want the dates to be displayed in Persian on the Highcharts chart. I know you can use jalali-moment to convert the date to normal. Is there a way to do this in the Highcharts? I use Angular 12 and Highcharts 9. Highcharts.chart('lineChart', { …
Mahdi
  • 307
  • 6
  • 19
0
votes
1 answer

Converting Persian Url Route to Persian Words on C#

I made my routes to Persian , cause of that my Url route in StartUp config is like endpoints.MapControllerRoute( name: "HomeController", defaults: new { controller = "Home", action = "Test" }, pattern:…
0
votes
1 answer

I can't send Persian text form java Telegram bot intelij idea

I've made a telegram bot using Java with rubenlagus/TelegramBots library. And when I'm going to send a Persian message to the user, the message gets all changed into nonsense like this : real message : به پنل ادمین خوش آمدید I'm using IntelliJ IDEA…
Mori
  • 41
  • 5
0
votes
2 answers

Mysql - What's the difference between "utf8_unicode_ci" and "utf8_persian_ci"?

In the MySQL database i saved Persian sentences as Unicode(utf8_unicode_ci) in a table. Then i change collation to utf8_persian_ci but the results are same. No changes were made. What's the difference between "utf8_unicode_ci" and "utf8_persian_ci"?
user13239154
0
votes
1 answer

Remove an specific unicode character from an array Python

I have some arrays like this: ['دوره', 'ندارد', '\uf0d6', 'دارد'] I want to remove the specific Unicode characters like \uf0d6 from them. I have tried this: for item in tagArray[0]: if item.startswith('\u'): tagArray[0] =…
BlueBlue
  • 81
  • 1
  • 8
0
votes
1 answer

How I can type half-space char in the desktop skype application?

Can anyone explain to me that how I can type half-space char in the desktop Skype application? In Persian Language we can use the half-space char but skype prevents us to do this. When we type half-space char (shift space), skype seems to remove…