Get Client Browser preferences
Posted on 2003-10-29
I am developing a web interface, which should work for multiple languages.
I am forcing the language to be displayed on the page with Header Environmenal Encoding META setting.
I would like to find a way to see if end user changes browser language from default so that I could adjust my script and during the next request, send the META option to set whatever user selected previously.
I can ask a user to select a language from the Drop-down box of course, but I would like to see a way to catch it when the browser's setting is changed (example: user selects "View" -> "Encoding" -> Unicode (UTF-8) on the browser menu).
Anybody knows a way to catch it?