arabic

Arabic tooltips issue in IE

喜你入骨 提交于 2019-12-11 17:32:24
问题 I have developed many bilingual(English and Arabic) sites, but recently I have observed tooltip issue in IE(<=8 versions) for Arabic version sites. No 'RTL' applied for Arabic tooltips and there is no word formation of Arabic Characters. All my sites are W3 Compliance. I did not understand, is it a browser issue or do I need to fix in code to display proper tooltips in IE? 回答1: you have to install RTL language support in the host system (e.g. WinXP) to show the RTL tooltip in correct order in

UTF-8 to CP864 (arabic) conversion

做~自己de王妃 提交于 2019-12-11 15:25:02
问题 I have the following task: some text in mixed latin/arabic written in UTF-8 needs to be converted for printing using POS-printer, which uses ancient one-byte code page 864. text.getBytes("ibm-864") suddenly shows many question marks instead of arabic characters, and after digging the code I understood that conversion table has some different versions of arabic characters used to map to ibm-864 (somewhere in the FExx range rather than 06xx, which I have in my text). I'm looking for some code

ISO-8859-6 to UTF-8

Deadly 提交于 2019-12-11 15:22:46
问题 How do I convert ISO-8859-6 to Arabic? I have some encoded characters, e.g. ÇÎÊÈÇÑ . This is nothing but “Test” in English and اختبار in Arabic. I want these characters as an input and Arabic as an output. To test further in Notepad++, try the following steps to get a better idea. Create New file and paste ÇÎÊÈÇÑ in it. Go to encoding menu navigation -> Character Set -> Arabic -> ISO-8859-6/Windows-1256 It shows Arabic characters, which is nothing but “test” ( Google Translator ). Actually, I

How to solve this Arabic language problem in Sybase PowerBuilder 6 and 7?

泄露秘密 提交于 2019-12-11 14:47:00
问题 How to view arabic characters correctly in Sybase PowerBuilder 6 or 7 as I use Arial(Arabic) or any arabic language in the properties of the table and the database but it shows the characters as strange symbols that has no meaning like ÓíÇÑÉ ÕÛíÑÉ ? 回答1: I'm no expert in dealing with Arabic language characters, so there may be a work around with ANSI code pages, but I'd expect your best solution is Unicode. There was a distinct version of PB6 supporting Unicode (i.e. a separate product), but

import csv file contain arabic data to sqllite

佐手、 提交于 2019-12-11 14:33:55
问题 I have an excel file with data in arabic. How can I import this in an sqlite database for use in an Android application? I tried to export as CVS, but excel doesn’t export the cvs as unicode, so the data is unreadable 回答1: Even though the question has been asked for a while now but I actually encountered the same issue and solved it by following the below steps: Open your excel sheet (.xls or .xlsx) Save it in Unicode Text (.txt) format Open the text file and change the encoding to UTF-8

How to match junk characters in mysql database with arabic letters with PHP and MYSQL

谁都会走 提交于 2019-12-11 14:13:50
问题 My question in brief here: The site is developed with PHP as front end and mysql as backend. I am registering in my site by entering the arabic letters. And the value also inserted in mysql database. But it is not in the format what i entered. It looks like junk words. Now my problem is when i try to login i can't able to match the input what i entered. I am stuck with this place. Any ideas or suggestion will be helpful and grateful. thanks in advance.. 回答1: This problem should be solved in

Arabic & English text problem in Galaxy S and Nexus S in TextView

青春壹個敷衍的年華 提交于 2019-12-11 14:05:02
问题 With a TextView with right gravity when I write a mix of English and Arabic texts, some English texts are moved to the right of the TextView and are not shown. This may be because of some sort of arabizer in Samsung. Any suggestions to fix that? 回答1: RTL language support is only partially implemented in Android 2.3. This may be one of the limitations. Try it in a 2.3 emulator (to see if this is specific to Samsung, as you suggest) and a 3.0 emulator (to see if this has been improved). 来源:

How to convert Arabic text from PyQt4 to UTF-8

六月ゝ 毕业季﹏ 提交于 2019-12-11 12:08:01
问题 I made a Python 2 GUI application with PyQt4 that has two entries. The first takes the file name, and the second takes the text to write in the file. I want to enter Arabic text in both of them, so I wrote this function: def makefile(self): self.name_file=str(self.lineEdit.text()).decode("utf-8") self.string=str(self.lineEdit_2.text()).decode("utf-8") file=open(self.name_file,"w") file.write(self.string) file.close() When I enter English letters it works fine, but when I enter Arabic I get

Jasper report in displaying arabic

杀马特。学长 韩版系。学妹 提交于 2019-12-11 11:49:01
问题 This is my xml tag for jasper <textField> <reportElement x="56" y="0" width="276" height="20" uuid="952b2fc3-7220-40ed-80eb-e2a3b9fd9fe2"/> <textElement> <font fontName="DejaVu Sans" pdfFontName="Courier" pdfEncoding="Cp1256" isPdfEmbedded="true"/> </textElement> <textFieldExpression><![CDATA[new String($F{TEST}.getBytes(), "UTF-8")]]></textFieldExpression> </textField> Input: واحد مائة أَلْفٌ درهم اماراتي Output: واحد مائة ?? درهم اماراتي We can see two question marks in place of arabic

Decoding Urdu Codes in Android

怎甘沉沦 提交于 2019-12-11 11:34:39
问题 I am calling an API and receiving the response in both English and Urdu. The response is stored in a string and the urdu part shows character text like "/u024/". I have been implementing this code set which is giving same result for as before for urdu characters. Kindly if anyone can help me out on this String fontPath = "urdu.ttf"; // text view label TextView txtGhost = (TextView) findViewById(R.id.ghost); // Loading Font Face Typeface tf = Typeface.createFromAsset(getAssets(), fontPath); //