MyBB Community Forums

Full Version: French language pack problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In my admin panel of MyBB 1.4.10, in the "Paramètres" section, in place of all the accents, I see a � or ?. Why is this?
Salut,

Si tu pouvais préciser où exactement STP...

Ces caractères bizarres, c'est un seul ou plusieurs ?

Merci des précisions.


EDIT :
J'ai installé MyBB 1.4.10 anglais en local (XAMMP). Puis j'ai mis les fichiers du langpack fr.
Tout me semble fonctionner correctement !?
Peut-être un souci d'encodage de la base ?

I installed MyBB 1.4.10 english onto local server (XAMMP), then I put the french langpack files.
All seems working fine !?
Perhaps an encoding problem with the database ?

Merci de repréciser le type d'erreur.
Thanks for telling more about that error.
Je pense que c'est un problème avec mon hébergeur. J'ai déjà eu ce genre de problème. Mais si ça peut aider, voici deux captures d'écran que j'ai pris de mon ACP.
[attachment=16714]
Paramètres.

[attachment=16715]
Variables de langues.

Comme il est possible de le constater, parfois c'est des ? à la place des accents, parfois c'est ces étranges �.
Oui, je vois...

Mais le souci (si l'on peut dire), c'est que je n'arrive pas à reproduire ce comportement !!!

Chez moi, tout est OK.
Je suppose que c'est un problème d'hébergeur ou plus précisément un problème d'encodage au niveau de la BD ?

Tous les fichiers sont en UTF-8, y compris /admin/config_settings.lang.php, comme cité dans le screenshot.

Le seul truc, c'est que je crois que j'ai enregistré par erreur /inc/languages/french/admin/config_settings.lang.php en UTF-8 avec signature Unicode (BOM), mais je pense que ça n'a aucune importance, en tout cas dans mon cas...

A part ça, je ne vois qu'un souci d'encodage.

Est-ce que dans "Outils et Maintenance", onglet "Conversion UTF-8", toutes les tables sont bien en UTF-8 ?
This is a nasty problem. You can work around it by replacing the accented letters in the corresponding language file by their HTML entities. That is, replace an é by é and è by è and so forth.
(2009-12-26, 07:57 PM)spyto Wrote: [ -> ]Est-ce que dans "Outils et Maintenance", onglet "Conversion UTF-8", toutes les tables sont bien en UTF-8 ?
Quelques uns ne l'étaient pas. Je les ai changés, mais à aucun effet.

(2009-12-29, 10:14 AM)Tochjo Wrote: [ -> ]This is a nasty problem. You can work around it by replacing the accented letters in the corresponding language file by their HTML entities. That is, replace an é by é and è by è and so forth.
Is that the only way? Seems rather tedious to me...
I stopped looking for other ways when I noticed this works. Indeed, it is a bit tedious to replace all accented characters by their HTML entities, but this only needs to be done in settings.lang.php, right? Also, you could simply search and replace é by é and so on.