Re: farsi language auto-detection in web pages

2005-08-24 Thread mohsen ali momeni
Hi, I need Add_date function for jalali calendar. This will be used in an open source project. An alternative can be a perfect algorithm to detect whether a year is leap or not. Is there anyone having a perfect implemetation of this function? (I have checked the conversion codes (J2G,G2J) in farsiw

Re: farsi language auto-detection in web pages

2005-08-10 Thread mohsen ali momeni
Hi, Thanks for reply, What I exatly need is CP1256 detection, and after that detecting whether the language is persian or not. Regards, -- __ \ /_\\_-//_ Mohsen A. Momeni http://lists.sharif.edu/mailman/listinfo/persiancomputing

farsi language auto-detection in web pages

2005-08-09 Thread mohsen ali momeni
Hi, How can I auto-detect language of a webpage without knowing it's charset? (suppose language and charset is not defined in header) Is there a simple (not time-consuming) method to detect a page charset? Regards, -- __ \ /_\\_-//_ Mohsen A. Momeni http://lists.sharif.edu/mailman/listinf

Re: Date data type in MySQL

2005-06-06 Thread mohsen ali momeni
> Hi, > > I was wondering how Date data type is dealt with in such databases > as PostgreSQL or mySQL? > > Databases usually have Date related operations such as equality, > less than, greater than, etc . But most databases have the Gregorian > Calendar and not Jalalian. > > Any solutions or hac

Re: PersianComputing Digest, Vol 23, Issue 2

2005-04-15 Thread mohsen ali momeni
Hi ! > hi every one i have a problem in mysql data base > is that > when i reveiw my table cotained data in PhpMyAdmin in > persian i can see and edit data correctly but when i > use > my script to query my tables using PHP it display my > table data as a '?' (question marks) > i am using > mysql

Re: Farsi MUI for Win XP

2005-03-02 Thread mohsen ali momeni
> Where can i find farsi MUI for Windows XP > > > Can somb help me to find Farsi MUI for windows XP > > Where can i download it? > > thank u > > There is no Farsi MUI by microsoft but a resident program which does > what you want. It needed some changes, now it's ready. get it here: http://hom

Re: PersianComputing Digest, Vol 21, Issue 13

2005-02-25 Thread mohsen ali momeni
> Well, that's why I'm saying your implementation is not what MySQL > people expect. The date data type is representation-agnostic > itself, and AddDate, DateDiff, etc work with the date data type > (at least in MySQL). What you need is functions to covert from > internal date representation to I

Re: PersianComputing Digest, Vol 21, Issue 6

2005-02-22 Thread mohsen ali momeni
> Can somb help me to find Farsi MUI for windows XP > Where can i download it? > thank u There is no Farsi MUI by microsoft but a resident program which does what you want. ___ PersianComputing mailing list PersianComputing@lists.sharif.edu http://lists.

Re: PersianComputing Digest, Vol 21, Issue 6 (fwd)

2005-02-22 Thread mohsen ali momeni
Hi , > I talked to Roozbeh Pournader about your mail. Seems like you > are using an old version of the code, which has the problem as > you mentioned. Our latest code is available from address below > and doesn't have that problem: > > http://www.farsiweb.info/jalali/jalali.c Thanks for your a

Re: PersianComputing Digest, Vol 21, Issue 6

2005-02-19 Thread mohsen ali momeni
> No. Wrong. So you say we should still fight about our calender name? > No. They simply are not interested in your functions. They were interested, as their first email showed that. They accept it but i got no answer after that. > Again no. Calendars does not belong to databases. I didn't

Re: PersianComputing Digest, Vol 21, Issue 5

2005-02-16 Thread mohsen ali momeni
Hello, About jalali or Iranian calender, i think fighting about what the name should be is of no use and will make a lot of problems for us. I know everything about them. that Jalali calender is based on calculation and iranian calender has a astoronomical basis. But all these arguments will lead

Re: PersianComputing Digest, Vol 17, Issue 8

2004-10-31 Thread mohsen ali momeni
> Salaam, > As I know begining from Mysql 4.1 it support persion sort. And this > not need any patch. No , its not so .MySQL 4.1 uses cp1256 charset as default charset for persian data manipulation. The sort , search doesn't work correctly in cp1256. The mysql project team worked on adding UTF-8 s

Re: PersianComputing Digest, Vol 16, Issue 7

2004-09-13 Thread mohsen ali momeni
Thanks for reply, > I'm not sure if that is what he was asking. I thought he might have > been asking about automatic conversion of Arabic-Indic digits (e.g. > U+06F3) to integer values (e.g. 3) and vice-versa; persumably this > would happen if the locale is set fa_IR. It's so, I tested some pa

Persian numbers in Glibc

2004-09-11 Thread mohsen ali momeni
Hello everyone, Does Glibc support persian numbers? i mean does it interpret persian numbers as real numbers? As i tested ,it's not so , i mean there is no support for persian numbers in glibc.am i right? Is there any application in linux supporting persian numbers?Should this support be added to

tarjome be farsi

2004-09-06 Thread mohsen ali momeni
salam be hame doostan aya kalamate mo'tabar (ke hame estefade mikonan) baraye tarjomeye kalamati mese "locale","wide character","multibyte character" va ... dar zabane farsi vojood dare? inaro va kalamate shabih be ino chi tarjome mikonan? age linki darin ke inaro hame ba ham dare mamnoon misham