UTF-8 + HTML::Template + CGI::Fast

Mark Morgan makk384 at gmail.com
Fri Dec 4 17:33:02 GMT 2009


On Fri, Dec 4, 2009 at 5:15 PM, Peter Corlett <abuse at cabal.org.uk> wrote:
> As far as I could tell from the last time I had this problem, if you omitted
> the accept-charset attribute from the <form> tag, the browser would use its
> default character set. Which was UTF-8 in Firefox and Windows-1252 on IE.
> Setting <form accept-charset="utf8" ...> made IE play nicely.
[...]
> Getting something other than Latin-1, Windows-1252 or UTF-8 posted to your
> web forms is vanishingly unlikely.

The above assertion assumes that the user's default locale is the same
as yours...

Mark.


More information about the london.pm mailing list