File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
getCharacterEncoding / getLocale
Joined: Aug 21, 2004
Jul 01, 2005 08:55:00
I have problem with above methods. I appereciate your help.
1- I have a problem with getCharacterEncoding.
If I do not use setCharacterEncoding I always get "null" from getCharacterEncoding.
2- If I setLocale on reponse or request I get desired locale if I use getLocale. But if I do not setLocale and just want to see what Locale is set on user's browser, I always get en_US.
Are above things normal?
PhD Artificial Intelligence, OCJP1.6
Joined: Aug 02, 2004
Jul 03, 2005 21:50:00
Did you set other language rather than english as prefer language in your browser when you try to access your
Joined: Feb 05, 2001
Jul 04, 2005 09:49:00
Welcome to the JavaRanch! Please adjust your displayed name to meet the
JavaRanch Naming Policy
You can change it
Thanks! and welcome to the JavaRanch!
Perfect World Programming, LLC
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: getCharacterEncoding / getLocale
[JSF 1.2 and 2.0/Internationalization] How to propagate the Locale to the entire application
I18n problems with JSF
determine the input type of the value of the function parameter map
JSF and Locale
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015