coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: pjotr on January 05, 2006, 03:51:02 PM

Title: Re: Typo in dutch.php
Post by: pjotr on January 05, 2006, 03:51:02 PM
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.
Title: Re: Typo in dutch.php
Post by: whmeeske on January 05, 2006, 11:30:04 PM
I'm also dutch and had the same problem as you.
I used the solution given in this topic (http://forum.coppermine-gallery.net/index.php?topic=24075.msg111088#msg111088), 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?
Title: Re: Typo in dutch.php
Post by: pjotr on January 09, 2006, 02:30:17 PM
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. :(
Title: Re: Typo in dutch.php
Post by: Joachim Müller on January 10, 2006, 08:54:34 AM
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.
Title: Re: Typo in dutch.php
Post by: pjotr on January 10, 2006, 09:05:19 AM
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".