Page 1 of 1
Problem with french language
Posted: Wed Feb 28, 2007 9:13 pm
by angelina
First of all HI

and thanks for all your work...
I discovered Serendipity not long ago, and tried it on local, everything went very well.
But I'm having problems with the server installation, the accents in french doesn't appear but two ?? instead.
I really tried to find the answer in the topics, but didn't find a way
(language mess-up on move - BlogJet and encoding - Handling french/japanese text...etc)
I tried taking back and changing language french files of the lang folder:
serendipity_lang_fr.inc.php
as I could see in them very strange signs instead of the é,à,è,etc...
You'll think I'm mad but I even changed every weird stuff with is original letter !!!
I changed the database encoding too as you suggested but the only result I have is ONE ? instead of two...
Please could you kindly help me?
Angelina
Re: Problem with french language
Posted: Thu Mar 01, 2007 11:34 am
by garvinhicking
Hi!
Check your s9y configuration, what is the "Charset" set to? You can switch between Native and UTF-8 encoding, see if that makes a difference.
Or tell us the URL to your blog to see it.
How did you upload the files? Maybe the upload screwed with the special characters, if you uploaded the files as 'ASCII' and your FTP tool uses transcoding.
Try to create new postings after you switch charsets; old postings might not be affected.
Regards,
Garvin
Posted: Thu Mar 01, 2007 11:54 am
by angelina
Hi Garvin,
The charset is on UFT-8, Native give this "Catˆ©gories" for "Cat?gories" with UFT-8, should be Catégories... here is the adress:
http://ang0.com/serendipity/index.php
I posted a new post, no problem with it, the problems are on the Blog himself even in the administration screen...Uploaded with Fetch.
At work we tried also to install Serendipity with Filezilla, we got the same problem...
Thanks for your help!
Angelina
Posted: Thu Mar 01, 2007 12:11 pm
by garvinhicking
Hi!
Can you please try to reupload the lang/serendipity_lang_fr.inc.php and lang/UTF-8/serendipity_lang_fr.inc.php unmodified from a clean serendipity release tarball? Make sure the files are FPT uploaded as 'BINARY'. The files must be corrupted on your server because of some reason.
Best regards,
Garvin
Posted: Thu Mar 01, 2007 12:36 pm
by angelina
Hello again,
Following your instructions I dezipped again Serendipity (serendipity-1.0.4a.zip) and look into the files, the one on the file lang is ok (@define('LANG_CHARSET', 'ISO-8859-1');) but I can see this on the one from the file lang-UFT:
@define('LANG_CHARSET', 'UTF-8');
@define('SERENDIPITY_ADMIN_SUITE', 'Administration de Serendipity');
@define('HAVE_TO_BE_LOGGED_ON', 'Vous devez être authentifié pour accéder à cette page');
@define('WRONG_USERNAME_OR_PASSWORD', 'Vous avez entré un nom d\'utilisateur ou un mot de passe erroné');
May be I should get another version of Serendipity?
Thanks !
Angelina
Posted: Thu Mar 01, 2007 12:43 pm
by garvinhicking
Hi!
The UTF-8 version is okay! Those special characters should show up if you instrut your editor to parse the file in UTf-8, not in ISO-8859-1.
UTF-8 and ISO-Characters are different, your editor must switch to the selected encoding to display them. Displaying UTf-8 chars in ISO is invalid, as well als displaying ISO characters in UTF-8.
Best regards,
Garvin
Posted: Thu Mar 01, 2007 1:36 pm
by angelina
It works !
I replaced the two files " serendipity_lang_fr.inc.php " by fresh dezipped ones and put back the charset UFT-8.
Thanks a lot for your help !
Have a nice day ! Now mine is great
Kind regards,
Angelina
Posted: Thu Mar 01, 2007 1:38 pm
by garvinhicking
Hi!
Great to hear that!

Have fun!
Best regards,
Garvin