Hey
I've just changed the default language to danish. But the only way i can make
the contry specifict characters look like they are supposed to is to change
the encoding type manually in the browser. Somehow UTF-8 doesn't work with danish characters
Sorry for my bad english
have tryed changing all meta tags in the templates
Encoding problems
By jck_true - Posted on October 1st, 2007
Tagged:
I asked our danish translator and here is his advice. I recommend checking how your mysql database is collated.
---
Seems the danish translation is using normal characters instead of the html
codes. So for instance é should be é
But thats not really the problem here. Seems somehow the browser doesn't
recognise the pages as UTF8.
It can be as simple as the charset not being UTF8 or the database not being
UTF8. There's no way of telling without further investigation.
It can even be in apache encode or the php mbstring.
Maybe the guy can set the charset in the .htaccess. Should do the trick.
I got the same problems here. Except it is German what I want to use.
I also can't enter a Name with the umlaut (öäü). I cut’s the name at the umlaut.
Is there already a solution?
thanks,
Hermann
this is a well known issue - please see http://www.activecollab.com/forums/topic/666/ for a solution.
I also filed an issue at http://www.projectpier.org/node/309 to get the last change in PP.
My solution is to add a header directive from php:
<?phpheader('Content-type: text/html; charset=utf-8');
?>
as the first line of the layout files:
/projectpier/application/layouts/account.php
/projectpier/application/layouts/administration.php
/projectpier/application/layouts/dashboard.php
/projectpier/application/layouts/dialog.php
/projectpier/application/layouts/error.php
/projectpier/application/layouts/project_website.php