UTF-8 Arabic Joomla Problem on IE 7

إذا كان لديك أسئلة تتعلق بجوملا! ليست مرتبطة بالأقسام الأخرى قم بوضعها هنا

Moderator: sherif

Locked
User avatar
level09
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Thu Sep 14, 2006 2:18 am
Location: Syriaٍ
Contact:

UTF-8 Arabic Joomla Problem on IE 7

Post by level09 » Fri Oct 26, 2007 11:39 pm

Hello, I followed the instructions carefully for installing a utf-8 arabic site :

Joomla Database encoding : UTF_General_CI
Language File : arabic_UTF-8
Database.php: commented out the required line.

the site now is working fine on Firefox, but I have an issue on some versions of IE, the encoding is corrupt until the user selects the encoding manually.
that would be a big accessibility problem since many users don't have the technical experience to change the encoding manually.

I tried to work out the issue editing the .htaccess file and adding the following line :

AddDefaultCharset UTF-8

but it didn't work.

should I convert any other files to UTF-8 ? I believe that the header of joomla is generated dynamically using the language file so there should not be any necessity to convert any other files to UTF-8.

should I try converting the index.php and index2.php ?

Here is the site: http://www.syrianbasketball.com

Thanks in advance

User avatar
dr_drsh
Joomla! Guru
Joomla! Guru
Posts: 585
Joined: Thu Sep 22, 2005 3:52 pm
Location: Egypt
Contact:

Re: UTF-8 Arabic Joomla Problem on IE 7

Post by dr_drsh » Sat Oct 27, 2007 10:45 pm

when I checked the source I didn't find the meta tag that defines the page charset

add this to your template "inside the header tag"

Code: Select all

<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
Just another thing, you can remove the following line for your template as it might cause problems with IE and it is not required by XHTML standards.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
http://mostafa.mosmar.com/blog | My blog
http://mostafa.mosmar.com/jforms | JForms - WYSIWYG Forms Component for J! 1.5 (Beta)

User avatar
level09
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Thu Sep 14, 2006 2:18 am
Location: Syriaٍ
Contact:

Re: UTF-8 Arabic Joomla Problem on IE 7

Post by level09 » Sun Oct 28, 2007 12:50 am

Thank you for your reply,
Issue was solved by setting the default charset to UTF-8 in the .htaccess file !

My problem was that I used :
addCharset utf-8 .php instead of
addDefaultCharset utf-8

I will still make the changes you proposed.


Thanks for the help
Last edited by level09 on Sun Oct 28, 2007 12:52 am, edited 1 time in total.

NeedArabicSite
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Thu Aug 23, 2012 11:35 am

Re: UTF-8 Arabic Joomla Problem on IE 7

Post by NeedArabicSite » Thu Aug 23, 2012 11:47 am

salaams level09,

i would like to view arabic on my joomla 1.5 web site.
can you please kindly help me with a step to step guide on how i can do so?


Locked

Return to “القسم العام”