is there any another ways to find the "input locale" value in java ?
means what ever language( Japanese /Chinese/other languages supported by java) i enter in the text box and i want to identify the locale of the text field.
There are 3 important locales in Windows: Input Locale, User Locale and System Locale and all 3 can be different.
That is you can have System Locale = English, Input Locale = Chinese and User Locale = Japanese
This might represent a Chinese user working in japan on an English PC.
In this example i want to identify Input Locale means "Chinese .
I am not sure what you want, but if it is detecting the encoding of the string, u can use ICU4J. This is an open source specification by IBM. but this is not 100% reliable. U have to pass in long data ( say 100 characters ) to let it work fine