[thelist] IIS / formatCurrency Problem

Damien COLA damiencola at wanadoo.fr
Fri Oct 31 08:56:22 CST 2003

I give back this useful article which has been given on this list :

"The Absolute Minimum Every Software Developer Absolutely, Positively
Must Know About Unicode and Character Sets (No Excuses!)"

-----Original Message-----
Judging by the way this occurs intermittantly, the likely cause is that
you haven't told the browser what the character set is at all, so it has
to guess. Depending on what other characters you have used in the page,
it might guess either UTF-8 or Latin-1.

The solution is to pass a Content-Type header specifying the correct
character encoding in the HTTP response. This can also be done in HTML
with a meta hack:

  <meta http-equiv="Content-Type" content="text/html;charset=utf-8">

More information about the thelist mailing list