hindi

Can we have a language other than english in a URL?

半世苍凉 提交于 2020-01-02 08:05:15
问题 I know the answer to my question is Yes, But I am really interested to know how its done with my application in PHP. I am basically looking for a URL that contains a hindi characters. Thanks, 回答1: Unfortunatly, RFC2396 says you're not allowed to use any non alphanumeric characters. You can however encode them, but that defeats your point of having nicely 'speaking urls'. 回答2: ICANN (The Internet Corporation for Assigned Names and Numbers) exists with the sole responsibility of managing top

What are the unicode ranges for Hindi accented characters?

房东的猫 提交于 2019-12-28 06:49:15
问题 I'm trying to gather a Unicode list of all the 'o' like shapes in the Hindi character-set. In fact, a list of any characters (in any language) that makes uses of separate characters to indicate an accent would be better. I intend to use this unicode-list in a RegExp. I been trying to edit a list of character-ranges by outputting them in an Input TextField, but editing this text causes weird issues (the keyboard-cursor isn't place on the correct character, selections suddenly dissappear /

how to read hindi text from a file in c++? [duplicate]

不想你离开。 提交于 2019-12-25 04:39:22
问题 This question already has an answer here : Closed 9 years ago . Possible Duplicate: it about hindi text proccessing in in linux using c++ A file contains hindi text. I want to read this file and perform some operations on text it contains. So, if anyone could please explain how to read it from file and handle it(or just print it). Ex: if file contains मै एक भारतीय हूँ। then my program should read this content from file and print above text on standard output. I want to perform it on Linux.

Store hindi words in MYSQL using JAVA web crawler

China☆狼群 提交于 2019-12-25 00:17:25
问题 I want to store some Hindi words in a MySQL database. For that I wrote a web crawler. I am able to read those words successfully from HTML page and display them in the NetBeans console. But when I insert them in MySQL they change to ???????. Also if I insert the same words using SQL query in PHPMyAdmin itself, they get stored properly. I have searched Google and various forums a lot and have taken proper precautions in handling Unicode in most places. Do we have to mention explicitly in the

Hindi Marathi font on Android

一世执手 提交于 2019-12-24 17:48:01
问题 which font is most suitable for Android application developed in Marathi/ Hindi indian language. I tried with mangal and droidsansfallback but still the words dont appear as they should. I don't see the boxes or some special characters after using above font which is good, but still the marathi/hindi words doesnt have exacts alphabets. Any help/guidance will be appreciated. Thanks.... 回答1: As Devanagari fonts are not supported by Android, you can still give that support to your Application.

Not able to tag hindi sentence properly

浪尽此生 提交于 2019-12-24 04:43:09
问题 I have recently started a project on Hindi data processing. I have tried executing certain below code but have not got the expected output. e = u"पूर्ण प्रतिबंध हटाओ : इराक" tokens=nltk.word_tokenize(e) from nltk import pos_tag print tokens tag = nltk.pos_tag(tokens) print tag The output I have obtained is shown below: [u'\u092a\u0942\u0930\u094d\u0923', u'\u092a\u094d\u0930\u0924\u093f\u092c\u0902\u0927', u'\u0939\u091f\u093e\u0913', u':', u'\u0907\u0930\u093e\u0915'] [(u'\u092a\u0942\u0930

How to display Hindi font in the pdf exported?

穿精又带淫゛_ 提交于 2019-12-24 01:37:14
问题 I am trying to display Hindi font in the pdf file generated using iReport . I've added Hindi ttf font in the iReport for the same. iReport tool is displaying Hindi font properly in the iReport viewer but when I am exporting it into a pdf file I am not getting anything printed in the pdf file. 来源: https://stackoverflow.com/questions/18847367/how-to-display-hindi-font-in-the-pdf-exported

BreakIterator in Android counts character wrongly

五迷三道 提交于 2019-12-23 15:38:48
问题 I am using BreakIterator to count the number of visible character in a String. This works perfectly for English language. But in case of Hindi language it doesn't work as expected. The below String has a length of 3, but is considered as single character visually. ज्य When I used BreakIterator , I expect it to consider it as a single unit, but it considers it as 2 units. The below is my code: final String text = "ज्य"; final Locale locale = new Locale("hi","IN"); final BreakIterator breaker =

Change locale in android app (onto Hindi)

我只是一个虾纸丫 提交于 2019-12-23 03:47:24
问题 Creating multi languages support for the app with possibility to change language in App settings. As for now everything works fine for English, Spanish, Franch, Russian languages, but doesn't work for Hindi and Chineese. 1) I specify the language name in original language but in the app instead of हिन्दी I can see "Hindi". \res\values-hi\arrays.xml <?xml version="1.0" encoding="utf-8"?> <resources> <string-array name="languages"> <item name="english">English</item> <item name="russian"

Using xlrd to read Excel xls file containing Chinese and/or Hindi characters

[亡魂溺海] 提交于 2019-12-21 05:27:06
问题 http://scienceoss.com/read-excel-files-from-python/comment-page-1/#comment-1051 From the above link, I used this utility to read an XLS file. If the XLS file contains different language characters like Chinese or Hindi, it does not output them correctly. Is there a workaround for this? After Googling, I found this: import xlrd def upload_xls(dir,file,request): try: global msg global row_num row_num = [] header_arr = [] global file_path file_path = dir #reader = csv.reader(open(file),