Content-Type Tag question

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
AndrewB
Posts: 171
Joined: Fri Aug 22, 2003 11:15 pm
Contact:

Content-Type Tag question

Post by AndrewB »

Can I ask why the following tag is included in the html?

Code: Select all

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
Doesn't this cause problems with encoding for some people if they are using a different encoding?
Thorsten
Posts: 15565
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi Andrew,

if someone uses another encoding, then it is defined in the language file. Just look into the Polish language file, there's the east-european encoding set.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
AndrewB
Posts: 171
Joined: Fri Aug 22, 2003 11:15 pm
Contact:

Post by AndrewB »

I am going to have some Polish translations of the entries as well as the english and german.

I think I will try just removing the meta tag

Code: Select all

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
line from the html pages to see if that works for everyone.

Do you have any experience with this?
Thorsten
Posts: 15565
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi Andrew,
AndrewB wrote:Do you have any experience with this?
sorrily, I don't know how Browser are working without a given charset. :(

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
AndrewB
Posts: 171
Joined: Fri Aug 22, 2003 11:15 pm
Contact:

Post by AndrewB »

If anyone is interested...

I have made the following change to the english.php file which seems to work for english and polish (so far!)

Code: Select all

//$metaCharset 	= "iso-8859-1";
$metaCharset 	= "Windows-1250";
Post Reply