UTF works in Firefox not ie

Use this forum for all general talks about how to manage and run multilingual websites.

UTF works in Firefox not ie

Postby HIPPY72 on Tue Nov 27, 2007 7:03 am

Hi,

I have a site with many languages in place to translate, but am curious as to why i.e. doesn't recognise the UTF-8 languages I have installed while Firefox has no problem.

I can select UTF-8 in the ie browser and the characters work, but when I go to a new page it's back to Western....

Any suggestions?

Thanks - Julz
HIPPY72
Newbee
 
Posts: 3
Joined: Tue Nov 27, 2007 6:39 am

Re: UTF works in Firefox not ie

Postby kochin on Thu Nov 29, 2007 5:27 pm

It is possible that your Web server set HTTP charset header to utf-8, but Joomla! sends out HTML header setting charset to iso-8859-1. Or, the other way around.

Check you web server's default charset setting. Set it to utf-8 or off.

Check each of your language files, e.g. English.php to see whether there is a line
Code: Select all
DEFINE('_ISO', 'charset=iso-8859-1');
or similar. Change it to
Code: Select all
DEFINE('_ISO', 'charset=utf-8');
kochin
Contributor
 
Posts: 125
Joined: Sat Oct 27, 2007 2:00 pm

Re: UTF works in Firefox not ie

Postby HIPPY72 on Mon Dec 03, 2007 6:16 am

Thanks for the reply --- kochin

Investigating the server option as the korean.php in the Korean lang pack is utf-8
I have been told by my Host to add some lines to the .htaccess file to set the encodiong for the site/or page to UTF-8

http://www.w3.org/International/questio ... ss-charset ( this site doesn't target .php )

Still need help to pinpoint which .htaccess -- Should I be editing the Site Root or Joomla Root- or make inside lang folder.???

I have tried this code in the site root .htaccess - and others....
<Files "joomla/languages/korean.php">
AddCharset UTF-8 .php
</Files>

Thanks
HIPPY72
Newbee
 
Posts: 3
Joined: Tue Nov 27, 2007 6:39 am

Re: UTF works in Firefox not ie

Postby kochin on Mon Dec 03, 2007 3:57 pm

Since your language file is in utf-8 and your host allows .htaccess, you can try create or edit the .htaccess in your Joomla! installation directory. Then, put the following line
Code: Select all
 AddDefaultCharset utf-8
into the file.
kochin
Contributor
 
Posts: 125
Joined: Sat Oct 27, 2007 2:00 pm

Re: UTF works in Firefox not ie

Postby HIPPY72 on Mon Dec 03, 2007 9:55 pm

You little beauty -- worked 1st time .... thanks so much for this. I can get some solid communication sorted.

How:
joomla root .htaccess file, by renaming the file as htaccess.txt entering that code AddDefaultCharset utf-8
at the very bottom of page, and then renaming .htaccess (say yes/ok to renaming popup warning)

Thanks Kochin :lol:
HIPPY72
Newbee
 
Posts: 3
Joined: Tue Nov 27, 2007 6:39 am


Return to General discussions

Who is online

Users browsing this forum: No registered users and 1 guest