Re: DOCTYPE
- From: Michael Fesser <netizen@xxxxxx>
- Date: Fri, 29 Feb 2008 12:30:20 +0100
..oO(Dikkie Dik)
By the way, if you want a nice introduction on the matter, here's a good
start:
http://www.joelonsoftware.com/articles/Unicode.html
... and beware of onions ;) There is one thing I strongly disagree with
the above site: the remark that character encodings would be easy. They
are not. Especially if you take some quirky behaviours of Windows and
MySQL into account.
IMHO it _can_ be easy - you just have to do it consistently.
With UTF-8 you have to make sure that
* your data is stored as UTF-8 in the DB
* correctly transfered to your script (SET NAMES utf8)
* correctly transfered to the browser (header())
In short: UTF-8 all the way from the source to the reader.
Micha
.
- Follow-Ups:
- OT: exercises in character encodings (was: Re: DOCTYPE)
- From: Dikkie Dik
- OT: exercises in character encodings (was: Re: DOCTYPE)
- References:
- DOCTYPE
- From: Jerry
- Re: DOCTYPE
- From: Michael Fesser
- Re: DOCTYPE
- From: Jerry
- Re: DOCTYPE
- From: Jerry Stuckle
- Re: DOCTYPE
- From: Jerry
- Re: DOCTYPE
- From: Dikkie Dik
- Re: DOCTYPE
- From: Jerry
- Re: DOCTYPE
- From: Dikkie Dik
- DOCTYPE
- Prev by Date: Re: i am getting the php coding while running the php..
- Next by Date: Re: i am getting the php coding while running the php..
- Previous by thread: Re: DOCTYPE
- Next by thread: OT: exercises in character encodings (was: Re: DOCTYPE)
- Index(es):