forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: djmylongi on March 26, 2006, 06:42:40 pm

Title: Problem with encoding for nordic letters (åäö)
Post by: djmylongi on March 26, 2006, 06:42:40 pm
I'm using Coppermine on this page: http://www.skadevicup.djmylongi.net/ (http://www.skadevicup.djmylongi.net/). It works great but because I speak Swedish I wanna use the Swedish letters (åäö) just like a-z. I've read some old topics with the same problem but no one had solved it.

Here are some examples:

As you see: Swedish language, unicode and everything works as wanted, but...
(http://www.viktorljungstrom.se/bilder/blandat/coppermine/1.gif)

when I go to the main page, the categories lördag, söndag (=sat, sun) shows question marks instead of ö. Still, the headline of the page and description of images work.
(http://www.viktorljungstrom.se/bilder/blandat/coppermine/2.gif)

But when i go to admin of categories (catmgr.php) it looks like this (still with utf-8):
(http://www.viktorljungstrom.se/bilder/blandat/coppermine/3.gif)
The headline is "ÅÄÖ åäö" but the categories (lördag, söndag) is what I want them to.

When using encoding from language file, the site appears just like from utf-8.
And when I select Western iso-8859-1 the whole site almost appears on the contrary, where there's å in utf-8 there's ? in iso-8859-1 and so on.

I've tried to remove the meta tag for encoding and change in the css file, but nothing works. I also use an older version of Coppermine on a different site and there it works without any problem.

Now utf-8 is selected.

How can I solve this? I'm greatful for any answer!
Title: Re: Problem with encoding for nordic letters (åäö)
Post by: Joachim Müller on March 27, 2006, 07:09:50 am
your textual content in the database is not in unicode (you must have upgraded or used another charset before). Either run charsetmgr.php or fix this manually.
Title: Re: Problem with encoding for nordic letters (åäö)
Post by: djmylongi on March 27, 2006, 05:04:27 pm
Thx, but it doesn't work.

It's not just database content that appears wrong, also text from the language file looks like this: istället för.

This is what I see when I try to run charsetmgr.php:
(http://www.viktorljungstrom.se/bilder/blandat/coppermine/10.gif)