French.php contains unknow caracters French.php contains unknow caracters
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

French.php contains unknow caracters

Started by claude258, February 19, 2006, 04:35:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

claude258

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:
$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 ',
);

Nibbler

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

claude258

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

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

Nibbler

Normal when viewed as utf-8, see screenshot.

claude258

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://coppermine-gallery.com/forum/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)?

Nibbler

You need to save the file as utf-8. If your existing editor can't do that then you need to use another.