the meta_tag charset should come first, before any utf strin

You made an own skin or theme for phpMyFAQ. You can share it here with others!

Moderator: Thorsten

Post Reply
UTAKA
Posts: 37
Joined: Sun Jan 24, 2010 8:01 am
Location: phpmyfaq-jp.org
Contact:

the meta_tag charset should come first, before any utf strin

Post by UTAKA »

the meta_tag charset should come first, before any utf string appear.

template/***/index.tpl
<title>*******</title>
・・・・
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />

to

<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
・・・・
<title>******</title>
---------------------------------------
Sorry...I am not good at English.
http://www.phpmyfaq-jp.org
---------------------------------------
Thorsten
Posts: 15562
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: the meta_tag charset should come first, before any utf strin

Post by Thorsten »

Hi,

if you look into the index.php file, you see that we send a UTF-8 header before starting the HTML output:

Code: Select all

header("Content-type: text/html; charset=utf-8");
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply