persian

can't search in farsi text with arabic keyboard on iphone

心已入冬 提交于 2019-12-10 23:07:53
问题 I have recently developed a book for iphone and implemented search function in this app. but after testing the app on a real iphone I wondered it cant find all of the search Terms. (using farsi keyboard on my mac) for example it cant find words containing "ی" character because the search terms contains "ي" character which is inserted from iphone arabic keyboard!! my texts are a lot and I cant find all of theses similar characters!! Is there any way to convert my farsi text to arabic text? 回答1

how do i add a persian or other language Datatimepicker in umbraco?

人盡茶涼 提交于 2019-12-10 15:06:07
问题 i need to add a persian (shamsi) date time picker in my website.i know about persian data time picker in Asp.net or C# but i'm using umbraco and need to add persiandatetimepicker in umbraco that can use and change persiandatetimepickers code in my code. how do i do it? i found this link: http://our.umbraco.org/forum/developers/api-questions/19718-Using-Umbraco-Date-Time-Picker-in-ASCX-file but not useful. 回答1: You can create new datatypes in Umbraco to both store and render dates in your own

auto change keyboard language using javascript not work without IE

霸气de小男生 提交于 2019-12-08 08:52:11
问题 i have a Java Script Code that can change Keyboard Language when focus on text box. but this code just work in IE and cant work correctly in Firefox or Opera my code : <script type="text/javascript" language="javascript"> var farsi = true ; var s = new Array(32,33,34,35,36,37,1548,1711,41,40,215,43, 1608,45,46,47,48,49,50,51,52,53,54,55,56, 57,58,1603,44,61,46,1567,64,1616,1584,125, 1609,1615,1609,1604,1570,247,1600,1548,47, 8217,1583,215,1563,1614,1569,1613,1601, 8216,123,1611,1618,1573,126

I Can't Find dompdf_config.inc.php or dompdf_config.custom.inc.php for setting “DOMPDF_UNICODE_ENABLED” true

梦想与她 提交于 2019-12-07 08:58:50
问题 I use dompdf to save a html page as pdf by php. I use Persian characters in my html page (actually php page) but when i'm trying to save it as pdf, the export just looked like '?????' :( .I have searched all the net and I found a configuration for unicode characters https://github.com/dompdf/dompdf/wiki/UnicodeHowTo#configure-dompdf-for-unicode-support in " dompdf_config.inc.php " or "dompdf_config.custom.inc.php" file. but the problem is I CAN'T FIND such file in all of my dompdf folder and

Persian numbers in SQL Server 2005

不羁的心 提交于 2019-12-07 04:56:26
问题 I'm trying to add some persian text to my SQL Server 2005 database. There is no problem with letters, but persian numbers ( ۱،۲،۳،... ) are converted to ? ... For example, if I add this text ( سلام ۱۲۳۴‍‍‍ ) to database, there will be ( سلام ؟؟؟؟ ) in database/ What should I do? (for example, which collation should I use?) I'm using Arabic_CI_AS collation. in this list, Farsi (Persian) collation is Arabic_CI_AS (SQL Server 2005 doesn't have Persian collation, but 2008 has!) Note: I can't use

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

淺唱寂寞╮ 提交于 2019-12-07 04:18:57
问题 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 domain ) and all major browsers (latest FF and IE6+) are rendering this font just fine but my Chrome skips this font and switches to system's default tahoma . Here is my CSS: @font-face { font-family: 'BMitra'; font-weight: normal; src: url('fonts

How to show Persian numbers on ASP.NET MVC page?

为君一笑 提交于 2019-12-06 08:03:11
问题 I'm building a site which needs to support both English and Persian language. The site is built with ASP.NET MVC 3 and .NET 4 (C#). All my controllers inherit from a BaseController, which sets culture to "fa-IR" (during test): Thread.CurrentThread.CurrentCulture = new CultureInfo("fa-IR"); Thread.CurrentThread.CurrentUICulture = new CultureInfo("fa-IR"); In my views, I'm using static helper classes to convert into right timezone and to format date. Like: DateFormatter.ToLocalDateAndTime(model

iOS 10.3 safari text-align:justify bug for Persian/Arabic content

瘦欲@ 提交于 2019-12-06 06:36:40
问题 My website was working and viewing well on every mobile browser of my iPhone before updating to 10.3. From the time I updated my iOS to 10.3, my content page faced an issue: Content is wrapped in a <div> with CSS property of text-align: justify . My content is in Persian (Farsi). The problem is: my text content overflows container and when I add a padding to the container to see if it is just overflowed, I found out that it isn't rendering it justified and it's showing it right aligned . Is

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

こ雲淡風輕ζ 提交于 2019-12-06 05:38:21
问题 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 'ﭘ' on Android 3.x and in this case character '~' is shown. Typeface tf = Typeface.createFromAsset(context.getAssets(),"TAHOMA.TTF"); strChars = ""; strChars += (char) 0xFB58; tvChars.setTypeface(tf); tvChars.setText(strChars); I should mention that

I Can't Find dompdf_config.inc.php or dompdf_config.custom.inc.php for setting “DOMPDF_UNICODE_ENABLED” true

自作多情 提交于 2019-12-05 14:02:50
I use dompdf to save a html page as pdf by php. I use Persian characters in my html page (actually php page) but when i'm trying to save it as pdf, the export just looked like '?????' :( .I have searched all the net and I found a configuration for unicode characters https://github.com/dompdf/dompdf/wiki/UnicodeHowTo#configure-dompdf-for-unicode-support in " dompdf_config.inc.php " or "dompdf_config.custom.inc.php" file. but the problem is I CAN'T FIND such file in all of my dompdf folder and in all of my file system. Please somebody tell me where it is or what I must do. something else is that