Hi Robin,

On Wed, 13 Jun 2001, Robin Berjon wrote:

> I'm running into trouble with browsers submitting data using various charsets 
> and not telling me which charset they're using. This results in all sorts of 
> breakages and unusable text. I can't be the only one dealing with this 
> problem (if I am, then I'm really out of luck) so I was wondering if anyone 
> here knows of a good way to reliably detect the charset that the browser is 
> using to post its data.

It will be very difficult to guess reliably what charset is in use from
a random sample of characters taken from it.  I think you just have to
be able to handle the data.  You need sixteen bits per character.

73,
Ged.


Reply via email to