Re: [farsiweb]unicode fields in database
As far as I can tell, you HTML doesn't have any notion of fields. If you mean the letters Peh, Gaf, Farsi Yeh, etc, they can be referenced in HTML pages as "#x"+hexcode+";". Farsi Yeh becomes "#x06cc;", for example.OK I knew this, but I want to know when we want to represent a database unicode field in an ASP page(finally an HTML formatted page) is any more efficient way than converting them dynamically from Unicode to HTML entity code. I'm sorry I don't know ASP. But you can also use UTF-8 in your HTML page and encode the Persian letters as two bytes. Farsi Yeh becomes 0xDB 0x8C, for example. roozbeh ASP works very well while using unicode fields in SQL Server. Use following style for your asp page to make your page in UTF-8 . No conversion is needed to use. The most important part is the first line.The output of this ASP page will be like as Roozbeh said . It will not use "#x"+hexcode+";" style. %@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%html lang="fa" dir="rtl" headmeta http-equiv="Content-Type" content="text/html; charset=utf-8"/head % Response.Write(put your database field here) % body /body/html Best Regards Jalal Abedinejad
[farsiweb]Persian Unicode Combobox in HTML
Dear all, As you know when we use a combobox in a HTML, if it contains English content , when we type on the combobox the selected option of the combo changes to the nearest option we have typed . For example when we want to search for our country in a country combobox we type "i","r","a" , then the combo box will select Iran for us. My problem is that when I use a combobox with persian content (UTF-8 content-type) this feature is no longer available. I have used the http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/farsitools/php/date/scripts/farsi.js?rev=1.1.1.1content-type=text/vnd.viewcvs-markupjavascript file in my html to overright the keyboardmap but it did not work. I'll be happy if anybody here had encountered this problem and solved the problem. I think I must use some javascript code to change selected field of the combobox when something is typed on the combo. Thanks Jalal Abedinejad
Re: [farsiweb]searching
Hi I am not sure about translation of google to farsi but I have developed a site that you can search in farsi . Although this site is under developement but I think this feature completely works. You can see : http://www.kaladan.com I hope u enjoy it . When u visited the site please tell me your suggestions. ---Original Message---Hi everyone,I was looking through the archives, and noticed a brief discussion about a Persian interface underdevelopment for Google.I checked Googles web site [http://services.google.com/tcbin/tc.py?cmd=status] today to check on the status of the translation. According to the status report the Google persian translation is 100% complete.Does anyone know anything more about the status of this translation or when Google might implement it? Or has the energy of Googles initial dive into other languages run out of steam?Is anyone aware of alternative unicode serach engines that support searching for Persian/Farsi web sites?