Re: Typo in dutch.php Re: Typo in dutch.php
 

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

Re: Typo in dutch.php

Started by pjotr, January 05, 2006, 03:51:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pjotr

I'm using TextWrangler 2.1.1 (Mac) and as far as I know it is UTF-8 compatible, it still shows me rubbish (weird characters) instead of readable characters.
I've tested it in a few browsers, these are the results:
- FireFox and Safari (on a Mac) don't display the characters (like é and ë) correctly.
- IE (on windows) doesn't display the characters (like é and ë) correctly.

When I uploaded my edited dutch.php everything worked correctly.
Any clues?

EDIT: fixed a typo.
2*beer || !(2*beer) ?

whmeeske

I'm also dutch and had the same problem as you.
I used the solution given in this topic, it worked fine with me.
Or you can upgrade to CPG 1.4.3 (if you haven't already done so), the character problem is with this version.

What have you edited in the dutch.php file?

pjotr

#2
I have just upgraded to version 1.4.3, but that didn't solve my character problems, "ë" is still displayed as "??"
I also looked at the (htmll) source to make sure it wasn't my browser. In the source one finds "??" instead of "ë".

You can find my changes to dutch.php here: http://forum.coppermine-gallery.net/index.php?topic=24854

EDIT: I started doubting TextWrangler, so I also tested with Adobe GoLive (Mac) and that does ask for a character encoding when I open dutch.php. When I choose utf-8 everything is displayed correctly, but when I test it again with FireFox (Mac) and IE (pc) I get to see "??" again. :(
2*beer || !(2*beer) ?

Joachim Müller

does your app convert the charset when saving? It's pretty hard to answer Mac-related questions when none of the devs owns a Mac.

pjotr

#4
I most certainly hope not, but I'll try and figure it out today.
TextWrangler did indeed convert the charset, GoLive I still need to check.

EDIT: GoLive doesn't convert the charset when saving. I opened the file in the utf-8 charset, edited something, saved it and closed it. After that I opened it again (utf-8) and everything was shown correctly.
So that leaves me with suspecting my ftp program (Fetch 4.0.3), though that would be really weird.
Ok, I checked how German is displayed and there seems also to be something wrong with the special characters. "Wähle sprache" is displayed as "W??hle sprache".
2*beer || !(2*beer) ?