RE: Detecting character sets in HTTP requests?

by Bill Rhodes <wrhodes(at)qualcomm.com>

 Date:  Wed, 01 Mar 2000 11:58:42 -0800
 To:  Chuck Evans <Chucke(at)captura.com>,
"'HWG Servers'" <hwg-servers(at)hwg.org>
 In-Reply-To:  GIBRALTAR
  todo: View Thread, Original
Trouble with that is that there can be multiple charsets for a language, 
and they don't map coherently to one another.  Cyrillic, for example, will 
show only one language but can have three charsets (KOI8,  iso-8859-5, and 
windows-1251).

There has to be a way...

-B

At 10:01 AM 3/1/00 -0800, Chuck Evans wrote:
>Check HTTP_ACCEPT_LANGUAGE. It returns a string of the language (and I'm
>guessing by default the characterset) of the user's browser.
>
>
>-----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