hi. i've read a lot of question and answers language problem , but none of them tells us from where can i change this settings. as a newby , i want to know, which file contain information about charset in Joomla 1.0.x ? the one which appears when we open source of page (from IE).
Thank you beforehand!
charset problem
Moderator: General Support Moderators
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: charset problem
The code in the template
picks up the iso in the name-of-language.php file
Example for english.php
Code: Select all
$iso = explode( '=', _ISO );
...
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
Example for english.php
Code: Select all
/** templates/*.php */
DEFINE('_ISO','charset=iso-8859-1');
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Apprentice
- Posts: 32
- Joined: Fri Nov 07, 2008 12:21 pm
Re: charset problem
thank you for your reply, but my problem remained. let me explain. I'm using Joomla 1.0.x , Main menu Items and News name is in unicode , i it's not appearing apropriately.but contend of the news and poll is ok,everything readable.
how can i solve this kind of problem? how can i turn on the unicode for Main menu and news title?
how can i solve this kind of problem? how can i turn on the unicode for Main menu and news title?
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: charset problem
You can't chose to have specific encodings per items or pages.
This is a global setting one has to decide of BEFORE installing Jomla 1.0.x series (1.5.x is full utf8).
I suggest you read this:
http://forum.joomla.org/viewtopic.php?f ... &sk=t&sd=a
Your db has to be set utf8.general.ci before install.
All you language files should be utf8 NO bom encoded (use babelpad on Windows or TextWrangler on Mac).
Modify the file includes/database.php as indicated.
OR, use joomla 1.5.x
This is a global setting one has to decide of BEFORE installing Jomla 1.0.x series (1.5.x is full utf8).
I suggest you read this:
http://forum.joomla.org/viewtopic.php?f ... &sk=t&sd=a
Your db has to be set utf8.general.ci before install.
All you language files should be utf8 NO bom encoded (use babelpad on Windows or TextWrangler on Mac).
Modify the file includes/database.php as indicated.
OR, use joomla 1.5.x
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Apprentice
- Posts: 32
- Joined: Fri Nov 07, 2008 12:21 pm
Re: charset problem
the same problem with Joomla 1.5.x ))) for testing I installed 1.5.x before 1.0.x , but the same problem with main menu was also there.
i have two web page, both of them are Joomla 1.0.x . one was installed a year ago,the other week ago.in the one , that was installed a year ago i solvet that problem with main menu ( don't remember how) , but news title problem remained.now,i moved the template from the previos joomla,to the new , everything works okey, but main problem remain. so,i can say that, this is not the template problem,something should be changed in Joomla, but what? please,advise me something related to it.
how can i change global charset?
i have two web page, both of them are Joomla 1.0.x . one was installed a year ago,the other week ago.in the one , that was installed a year ago i solvet that problem with main menu ( don't remember how) , but news title problem remained.now,i moved the template from the previos joomla,to the new , everything works okey, but main problem remain. so,i can say that, this is not the template problem,something should be changed in Joomla, but what? please,advise me something related to it.
how can i change global charset?
- suesch
- Joomla! Apprentice
- Posts: 12
- Joined: Wed Jun 06, 2007 9:12 am
Re: charset problem
hi,
I ask help to the girl that works with the server about this charset problem in joomla 1.0 and she told me that is just change the document of configuration in apache and ad this line:
AddCharset UTF-8 .utf8
now my site with 5 languages in joomla 1.0 don't have problems with the latin accents.
I hope it can help someone...
I ask help to the girl that works with the server about this charset problem in joomla 1.0 and she told me that is just change the document of configuration in apache and ad this line:
AddCharset UTF-8 .utf8
now my site with 5 languages in joomla 1.0 don't have problems with the latin accents.
I hope it can help someone...
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: charset problem
Yes, this works on some hosting, IF you also have modified database.php as stated above.suesch wrote:hi,
I ask help to the girl that works with the server about this charset problem in joomla 1.0 and she told me that is just change the document of configuration in apache and ad this line:
AddCharset UTF-8 .utf8
now my site with 5 languages in joomla 1.0 don't have problems with the latin accents.
I hope it can help someone...
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group