Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Accentuated characters  (Read 4295 times)

0 Members and 1 Guest are viewing this topic.

jamesjoyce

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
    • D-Eye
Accentuated characters
« on: February 09, 2006, 08:49:37 pm »

Hi,

I browsed through the different forums and did a search but didn't find the sollution. If it's already been posted, please forgive me and give the url.

My characterset is Unicode (recommended) (utf-8). The names under my pictures don't show up well. For instance: "Frédéric Gaspard" becomes "Fr?d?ric Gaspard".

See http://www.d-eye.be/portfolio/thumbnails.php?album=24

I'm I overlooking something?

Thanks very much!
« Last Edit: February 12, 2006, 07:46:10 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Accentuated characters
« Reply #1 on: February 10, 2006, 12:40:33 am »

Did you perform an upgrade? If yes, perform the db update as well.
Logged

jamesjoyce

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
    • D-Eye
Re: Accentuated characters
« Reply #2 on: February 10, 2006, 09:53:20 am »

Gaugau, I did the upgrade last year but this album is brand new...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Accentuated characters
« Reply #3 on: February 10, 2006, 09:59:56 am »

OK, let me put this the other way 'round: is your database set to utf-8 as well? You appear to have a mixture of pre utf-8 and post utf-8 text on your page
Logged

jamesjoyce

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
    • D-Eye
Re: Accentuated characters
« Reply #4 on: February 10, 2006, 10:02:20 am »

Sorry for my ignorance Gaugau, but how can I check this? Really appreciate your effort already!

I looked in my database and in the caption field the é character is replaced by an accentuated Z... Maybe this helps...
« Last Edit: February 10, 2006, 10:25:53 am by jamesjoyce »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Accentuated characters
« Reply #5 on: February 10, 2006, 10:29:38 am »

Methods to check:
1) Go to http://yoursite.tld/your_coppermine_folder/charsetmgr.php
2) Use a tool like phpMyAdmin to check the encoding

If you decide to convert, you'll have to understand that text that already is in utf-8 will have funny results and will need manual editing. Backup your database before converting
Logged

jamesjoyce

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
    • D-Eye
Re: Accentuated characters
« Reply #6 on: February 10, 2006, 11:15:35 am »

Thanks Gaugau...

Still doing something wrong  :-[ When I ask the charsetmgr.php file, all I get is "Access denied". I checked the permissions on that file (644) and changed them to 777 but no go...

OK. I had to login first at my copperminesite then it worked. I got the message "Your site is already configured to use utf-8. You don't need this script and should leave this page.". Seems that my encoding is ok...

In phpMyAdmin I just see on the main page an option "Language" which I changed in Dutch-nl-utf-8 but I don't know if that's for the databases...

Thanks again!
« Last Edit: February 10, 2006, 11:45:37 am by jamesjoyce »
Logged

jamesjoyce

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
    • D-Eye
Re: Accentuated characters
« Reply #7 on: February 10, 2006, 12:29:08 pm »

I just changed all the instances directly in the database...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Accentuated characters
« Reply #8 on: February 10, 2006, 09:56:50 pm »

issue solved then?
Logged

jamesjoyce

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
    • D-Eye
Re: Accentuated characters
« Reply #9 on: February 11, 2006, 04:19:57 pm »

Well yes, but I had to go through 30 pictures... I'm not planning to do that all the time... This item can be closed. Thanks for your kind help!
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.