RE: Detecting character sets in HTTP requests?
by Chuck Evans <Chucke(at)captura.com>
|
| Date: |
Wed, 1 Mar 2000 10:01:15 -0800 |
| To: |
"'Bill Rhodes'" <wrhodes(at)qualcomm.com>, "'HWG Servers'" <hwg-servers(at)hwg.org> |
| |
todo: View
Thread,
Original
|
|
Check HTTP_ACCEPT_LANGUAGE. It returns a string of the language (and I'm
guessing by default the characterset) of the user's browser.
---------------------------------------------------------
Chuck Evans
Web Marketing Manager
Captura Software, Inc.
(425) 424-1155
chucke(at)captura.com
www.captura.com
-----Original Message-----
From: Bill Rhodes [mailto:wrhodes(at)qualcomm.com]
Is there a way to detect what character set the browser is using during a
GET or POST? I don't mean the HTTP_ACCEPT_CHARSET environment variable,
rather, I need a way to know what encoding they have specifically set their
browser to.
For example, if they're using KOI8, I'd like to be able to detect that and
differentiate them from someone using iso-8859-1.
Is there a good solution? TIA!
-B
HWG: hwg-servers mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.