The Joomla! Forum ™






Post new topic Reply to topic  [ 13 posts ] 
Author Message
PostPosted: Sat Jun 30, 2007 8:08 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Feb 10, 2007 9:41 am
Posts: 5
I have a 1.0.12 site in Spanish - some of the special characters in the front end and back end appear as ´?`

I have tried the fixes I found on the board ie
http://forum.joomla.org/index.php/topic ... #msg881203 and MySQL character set

I can't find anything that is utf-8
Everything looks like it is set to iso-8859-1

Please check it out
http://www.timeqm.com

Thanks


Last edited by fsabbah on Sat Jun 30, 2007 8:11 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Sat Jun 30, 2007 8:24 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Thu Aug 18, 2005 9:58 am
Posts: 10124
Location: Hillerød - Denmark
Hi fsabbah,

Could it be that you installed the UTF8 package instead of the ISO package?
http://joomlacode.org/gf/project/spanis ... age_id=115

_________________
Ole Bang Ottosen
redCOMPONENT Community Manager http://redcomponent.com
Personligt site www.ot2sen.dk
Dansk Joomla! support websted - joomla.dk


Top
 Profile  
 
PostPosted: Sat Jun 30, 2007 4:14 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Feb 10, 2007 9:41 am
Posts: 5
Thanks for your quick response

I had originally installed
Joomla_1.0.12-spanish-premium
which had the iso spanish package

Just in case, I uploaded the Spanish lang pack files you linked me to into the Spanish folder - but I still get "?" for special characters


Top
 Profile  
 
PostPosted: Sat Jun 30, 2007 4:24 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Feb 10, 2007 9:41 am
Posts: 5
I started another site with the
Joomla_1.0.12-Stable-Full_Package.zip

I installed the Spanish language package
When I look at my choices in my language manager I see
Spanish - Espa�ol Formal Neutro Usted
Even here the special characters aren't loading

Could this be an Apache issue and not a Joomla issue?


Top
 Profile  
 
PostPosted: Sat Jun 30, 2007 4:32 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Thu Aug 18, 2005 9:58 am
Posts: 10124
Location: Hillerød - Denmark
In the thread linked below more users had similar problems. One of them noticed a .htaccess file enforcing the use of UTF-8 encoding.
http://forum.joomla.org/index.php/topic,181374.0.html

_________________
Ole Bang Ottosen
redCOMPONENT Community Manager http://redcomponent.com
Personligt site www.ot2sen.dk
Dansk Joomla! support websted - joomla.dk


Top
 Profile  
 
PostPosted: Sat Jun 30, 2007 7:23 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Feb 10, 2007 9:41 am
Posts: 5
I removed the httaccess file and still no fix.

I also checked my mysql database in phpmyadmin and all tables are listed as latin1_swedish_ci


Top
 Profile  
 
PostPosted: Sun Jul 01, 2007 6:42 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17327
Location: **Translation Matters**
There is a mismatch somewhere between utf8 and iso-8559-1.

It only concerns some language pack strings and the Titles of Articles and Modules.

Try this:
Quote:
Please do the following:

Open globals.php and right after the last (it's at the end of the file)
Code:
}

and before the closing
Code:
?>

put the following code:
Code:
header("Content-Type: text/html; charset=ENTER HERE THE CHARSET AS DEFINED IN YOUR LANGUAGE PACK");


_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Mon Jul 02, 2007 4:19 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Feb 10, 2007 9:41 am
Posts: 5
That worked like a charm. I am back in business.
Thanks Ot2sen, thanks infograf768
You guys rock!


Top
 Profile  
 
PostPosted: Mon Jul 02, 2007 6:57 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Jan 26, 2007 4:55 pm
Posts: 20
I have some special character problems.  Im using the official spanish UTF-8 translation.  The items on the Joomla Configuration Page now show Si as Sí  instead of the ?, which is correct.  On the language selection on Joomla I see the ? which is incorrect.  Why does it work on some places and in other dont?  I set UTF-8 as charset enconding in Firefox/Opera/IE, but is useless.

The Zoom Image gallery component I installed still shows the ? on the words on the front end and back end.  What can I do? I just added the line you suggested but did not worked on the component.  I have Virtuemart component and works perfectly with the special characters.  What can be wrong?  Should I re-install the Zoom component?  I even tried removing the .htaccess file but still no luck.  I updated the language files for Zoom but still doesn´t work.

Thanks for your help.
el mandalorian


Top
 Profile  
 
PostPosted: Mon Jul 02, 2007 9:59 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17327
Location: **Translation Matters**
PRJMDL wrote:
I have some special character problems.  Im using the official spanish UTF-8 translation.  The items on the Joomla Configuration Page now show Si as Sí  instead of the ?, which is correct.  On the language selection on Joomla I see the ? which is incorrect.  Why does it work on some places and in other dont?  I set UTF-8 as charset enconding in Firefox/Opera/IE, but is useless.


When using a utf-8 site, it is better to reencode (and change charset) the English.php file to utf-8 which is used in admin.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Mon Jul 02, 2007 3:51 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Jan 26, 2007 4:55 pm
Posts: 20
Do you know if there is any english file around that has been re-encoded?  I have done some re-encoding but I'm in a hurry and it takes a lot of time.

For now, I just had to change the english file of ZOOM and re-code the special characters so I can view with ortographic errors, but for now its ok.

Thanks for the quick answer.

I have changed the spanish language file to an ISO-charset but still not useful.  I think I have to re-encode it by hand.


Top
 Profile  
 
PostPosted: Mon Jul 02, 2007 4:00 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17327
Location: **Translation Matters**
If your template contains the following strings (you may test with solarflare ii)
Quote:
defined( '_VALID_MOS' ) or die( 'Restricted access' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = explode( '=', _ISO );

[...]


and

Quote:


Then it will pick-up the utf-8 value of the english.php utf8 file here attached (takes 5 seconds to reencode  ;) )


You do not have the required permissions to view the files attached to this post.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Wed Aug 15, 2007 11:54 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Aug 15, 2007 11:16 am
Posts: 1
Hi everyone,

I run into a problem while designing my new website. The language I originaly use is Slovenian that requires support of UTF-8 because of such letter as:

đšžćč

Everything seemed to work ..but then I get this?

--------------------------------

Front page everything looks ok as you can see in the picture. ?

Image


--------------------------------

But when you click to read the whole article ...text changes to this!

Image


Anyone has any idea what's going on here? Really is driving me crazy :P



PS. I did include this line in globals.php

header("Content-Type: text/html; charset=UTF-8");


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 



Who is online

Users browsing this forum: Majestic-12 [Bot] and 37 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group