5 comments

  1. piou

    ah ah
    character encoding is a neverending source of headaches

    UTF-8 should be used if you dont't want to use HTML equivalents of unusual characters in your page (unless your site is in english only)

    but only recent versions of MySQL can manage UTF-8, so that knowing webhosts never upgrade their servers, it's all about converting every time you use a database…

    not to speak of text editors and windows 's false iso charset

    (take a look at wordpress's souce ;)

  2. Chs

    Thank you for this, it helped me a lot.

  3. HighToro

    You're a genious! Tnx a lot!!

  4. mary

    thanks, helped me out a lot :)

  5. Daniel

    Great code, that helped me a lot! Thanks!

Comments are closed.