On the
javascript try
navigator.systemLanguage
This should give u the language of the
system.
Thanks
-----Original Message-----
From: Sagar Pandit [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 30, 2001 11:44 AM
To: [EMAIL PROTECTED]
Subject: UnicodeHello everybody,
This is what I want to do :
I type some text in an input element inside an HTML form in a JSP. I want to know if the typed text is typed in English or any other language.
The data is posted to a servlet where I would do a request.getParameter("name"), which returns a string....i need to find out if it has been typed in English.
Can anybody help me with this? I don't mind if this can be done on the client side too using javascript....please suggest.
Thanks
Sagar