The Joomla! Forum ™






Post new topic Reply to topic  [ 11 posts ] 
Author Message
PostPosted: Wed Mar 05, 2008 9:08 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Sep 18, 2007 9:33 pm
Posts: 3
Hi all

when I use german umlauts öäüß in the text or in article name - they will be displayed correctly but just once. When I reload the page the text is crippled!
As soon as I delete the cache... display is correct ... after reaload is displays garbage again.

There seems to be a code page problem with the cache ... (or my configuration...)

Any suggestions what to change? Can anybody help.
Thank you.

RS


Top
 Profile  
 
PostPosted: Tue Mar 11, 2008 3:25 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17290
Location: **Translation Matters**
Do you have an url we could check?
What is your system info?
Which version of Joomal do you use?

Please give some information...

_________________
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 Mar 12, 2008 1:22 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Mar 04, 2008 2:47 pm
Posts: 8
I have the same problem. I'm making a bilingual site with finnish and english.
The following finnish article does not show correctly after reload
http://www.funkymonkey.fi/Joomla/index. ... ?task=view
--
Tero Pernu


Top
 Profile  
 
PostPosted: Wed Mar 12, 2008 9:41 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Sep 18, 2007 9:33 pm
Posts: 3
Thanks for your replies.

I ran 2 installation one with a clean 1.5 in wiampplite on my local windows machine and one on my website. Since it looked sooo obviously buggy, but nobody else ran into this problem before, I checked into code pages.

Some of them had been altered "mysteriously" to swedish_ci (just a guess: i think one component caused that problem) after manually changing collations in mysql back to UTF8_general_ci it works well and the caracter set problems are gone in the live system.

All right this does not explain any problems with a fresh & clean 1.5 installation in winampplite. I deleted the database, created a new one - making sure to select utf8_general_ci collation (probably finnish could use the same one - but swedish and estonian seems to be different) and reistalled joomla 1.5 stable.
What can I say - if you do it right it works. :laugh:

Hope this helps a little.
cu
rs


Top
 Profile  
 
PostPosted: Thu Mar 13, 2008 6:52 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17290
Location: **Translation Matters**
utf8_general_ci collation works for all languages as far as I know.
You are all advised to upgrade your installs.
1.5.1 has been available for a while and 1.5.2 should be released quite soon.

_________________
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: Thu Mar 13, 2008 7:19 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Mar 04, 2008 2:47 pm
Posts: 8
My problem is solved.

The service provider checked the problem and said it was caused by an charset of iso-8859-15 in the php settings. So my page's meta tag send a different, utf8, charset to the server and the problem appeared. The service provider disabled the charset feature all together and no the browser is only reading my meta tag of utf-8.

Work fine. ... for now :)

ps. i have the 1.5.1 Looking forward to the 1.5.2

--
Tero


Top
 Profile  
 
PostPosted: Thu May 08, 2008 1:01 pm 
User avatar
Joomla! Explorer
Joomla! Explorer

Joined: Wed May 09, 2007 10:07 am
Posts: 303
Location: Rome
I found 2 solutions to the problem:

1. changed default charset in php.ini to utf8_general_ci , then added

Code:
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>

in index.php of your template

2. the other solution is a hack, but could be useful I guess if you cannot modify php.ini

add this as first line in index.php in main dir:
Code:
<?php header("Content-Type: text/html; charset=UTF-8", true); ?>


reference: viewtopic.php?f=428&t=284028&p=1292426#p1292426


I'm testing, but it seems to me both solutions work

bye

ricc.

_________________
http://www.unframe.com


Top
 Profile  
 
PostPosted: Tue Nov 03, 2009 6:10 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Aug 24, 2009 6:22 am
Posts: 29
I've got a solution:

just add the following line to the .htaccess file

Code:
AddDefaultCharset utf-8


This solved my problem! :geek:

_________________
Warm Regards,
Satheesh K Dominic

http://www.tutorials2learn.com


Top
 Profile  
 
PostPosted: Mon Jan 18, 2010 4:44 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Mon Jan 18, 2010 12:43 am
Posts: 114
rufuz wrote:
I found 2 solutions to the problem:

1. changed default charset in php.ini to utf8_general_ci , then added

Code:
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>

in index.php of your template

2. the other solution is a hack, but could be useful I guess if you cannot modify php.ini

add this as first line in index.php in main dir:
Code:
<?php header("Content-Type: text/html; charset=UTF-8", true); ?>


reference: viewtopic.php?f=428&t=284028&p=1292426#p1292426


I'm testing, but it seems to me both solutions work

bye

ricc.

I did, but page couldn't open, after deleted.


Top
 Profile  
 
PostPosted: Thu Aug 05, 2010 1:58 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Aug 03, 2010 11:49 am
Posts: 12
Hi

I tried all abow except changing the php.ini since we rent webspace at a web host, so tht is not an option.

We still have problems showing Eutopeans characters especially åäö and ÅÄÖ. The problem seam to be when we read data from the data base. Everything else seem to use &xxxx; HTML characters for åäö. The problem begin after reuploading the site after making changes due to a fishing attack we had. Some php scripts was changed and added that we had to remove. Bu tto my knowledge I can't imagine I changed any thing with the language. That is unless the hacker removed it. BTW there was no backup when I strated to work on the problem.


Ony other suggestion.


Top
 Profile  
 
PostPosted: Sun Dec 11, 2011 12:19 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Dec 09, 2008 12:38 am
Posts: 3
satzdom wrote:
I've got a solution:

just add the following line to the .htaccess file

Code:
AddDefaultCharset utf-8


This solved my problem! :geek:


This worked for me too... I love a one line / one file fix. Good Work! :geek:


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



Who is online

Users browsing this forum: No registered users and 5 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