Problem with encoding for nordic letters (åäö) Problem with encoding for nordic letters (åäö)
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Problem with encoding for nordic letters (åäö)

Started by djmylongi, March 26, 2006, 06:42:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

djmylongi

I'm using Coppermine on this page: 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...
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.viktorljungstrom.se%2Fbilder%2Fblandat%2Fcoppermine%2F1.gif&hash=817bd980302c7266eb321c8288b831b0e9436472)

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.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.viktorljungstrom.se%2Fbilder%2Fblandat%2Fcoppermine%2F2.gif&hash=9ce12eb410113e2392ebd9883da9b8916a62e6a7)

But when i go to admin of categories (catmgr.php) it looks like this (still with utf-8):
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.viktorljungstrom.se%2Fbilder%2Fblandat%2Fcoppermine%2F3.gif&hash=ac9d945b622349ec14bced25c93cbd60b2442d22)
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!

Joachim Müller

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.

djmylongi

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:
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.viktorljungstrom.se%2Fbilder%2Fblandat%2Fcoppermine%2F10.gif&hash=979d6638810e6adaad6eaca8a4c51ad54c78c5ab)