forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: claude258 on February 19, 2006, 04:35:40 pm

Title: French.php contains unknow caracters
Post by: claude258 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 ',
);
Title: Re: French.php contains unknow caracters
Post by: Nibbler on February 19, 2006, 04:37:49 pm
What do you mean by 'unknown' ? It should be utf-8 encoded.
Title: Re: French.php contains unknow caracters
Post by: claude258 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.
Title: Re: French.php contains unknow caracters
Post by: Nibbler on February 19, 2006, 04:52:18 pm
Normal when viewed as utf-8, see screenshot.
Title: Re: French.php contains unknow caracters
Post by: claude258 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)?
Title: Re: French.php contains unknow caracters
Post by: Nibbler 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.