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: French.php contains unknow caracters  (Read 3276 times)

0 Members and 1 Guest are viewing this topic.

claude258

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 150
    • Album photos Brière
French.php contains unknow caracters
« on: February 19, 2006, 04:35:40 pm »

The french.php file contains unknown caracters but they are displayed correctly on the web. If I change those caracters for the approriate ones the display in not OK.
Also, I have to use those caracters in my anycontents pages to be able to see words correctly on the web.

Is that normal? Can this affect the Google searchs?

Here is an extract of french.php:
Code: [Select]
$lang_meta_album_names = array(
  'random' => 'Photos aléatoires',
  'lastup' => 'Derniers ajouts',
  'lastalb'=> 'Derniers albums mis à jour',
  'lastcom' => 'Derniers commentaires',
  'topn' => 'Les photos les plus populaires',
  'toprated' => 'Les mieux notées',
  'lasthits' => 'Les dernières vues',
  'search' => 'Résultats de la recherche',
  'favpics'=> 'Photos préférées', //cpg1.4
  'potd' => 'Photo du jour',
  'potdarch' => 'Archive des photos du jour',
  'potw' => 'Photo de la semaine',
  'potwarch' => 'Archive des photos de la semaine',
  'by' => 'par ',
);
Logged

Nibbler

  • Guest
Re: French.php contains unknow caracters
« Reply #1 on: February 19, 2006, 04:37:49 pm »

What do you mean by 'unknown' ? It should be utf-8 encoded.
Logged

claude258

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 150
    • Album photos Brière
Re: French.php contains unknow caracters
« Reply #2 on: February 19, 2006, 04:43:03 pm »

'favpics'=> 'Photos préférées', //cpg1.4

Is that nornal? I have to write this way in anycontent pages.
Logged

Nibbler

  • Guest
Re: French.php contains unknow caracters
« Reply #3 on: February 19, 2006, 04:52:18 pm »

Normal when viewed as utf-8, see screenshot.
Logged

claude258

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 150
    • Album photos Brière
Re: French.php contains unknow caracters
« Reply #4 on: February 20, 2006, 12:05:14 am »

Ok I understand but my problem is that I have to write this way in anycontent or any MOD.

Also, you can see that if I write Album Photo Brière as the title of my page in template.html it is displayed like this:

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fi2.photobucket.com%2Falbums%2Fy40%2Fbriere2%2Fecran.jpg&hash=decfd7fbe77dcb29a5dcb5d891195a91408dddf8)

Should I write it using weird caracters (if I find how)?
Logged

Nibbler

  • Guest
Re: French.php contains unknow caracters
« Reply #5 on: February 20, 2006, 12:09:26 am »

You need to save the file as utf-8. If your existing editor can't do that then you need to use another.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.