Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Apr 2012 11:06:42 +0200
From:      =?ISO-8859-1?Q?Erik_N=F8rgaard?= <>
Subject:   Re: converting UTF-8 to HTML
Message-ID:  <>
In-Reply-To: <>
References:  <20120421055823.GA6788@tinyCurrent> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 21/04/2012 08:29, Erik Nørgaard wrote:
> Browsers understand UTF-8 perfectly, simply add <meta charset="utf-8" />
> to the html header.

Obviously I can't know what your project is, but you'll save yourself 
heaps of problems sticking to UTF-8, in particular if you plan on 
implementing any search functionality or have users submit content. 
Enforce and stick to UTF-8.

When characters show up wrong in the users browser it's usually because 
the browser is set to use a non-UTF-8 charset by default such as 
windows-1252, the web server sends the charset=ascii in the http header 
and there is no or incorrect meta tag to resolve the problem. Non UTF-8 
charsets are a leftover from last millenia that we sometimes still choke 
on .. sorry the rant ;)

Cheers, Erik
M: +34 666 334 818
T: +34 915 211 157

Want to link to this message? Use this URL: <>