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 /\_\\_/\_/_/ Software Developer @

Re: farsi language auto-detection in web pages

2005-08-09 Thread Paul Hastings
mohsen ali momeni wrote: How can I auto-detect language of a webpage without knowing it's charset? (suppose language and charset is not defined in header) kind of a lousy way to do things but ... Is there a simple (not time-consuming) method to detect a page charset?

Re: farsi language auto-detection in web pages

2005-08-09 Thread Behdad Esfahbod
On Tue, 9 Aug 2005, mohsen ali momeni wrote: 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? If it's UTF-8 or UTF-16, kinda easy, not