Vous avez des problèmes d'affichage avec les caractères sur votre console linux? ou votre site internet? les accents passent pas bien :/

Host:/root/Account# dpkg-reconfigure locales
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = (unset)
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
Generating locales (this might take a while)...
  fr_FR.ISO-8859-15@euro... done
Generation complete.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = (unset)
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = (unset)
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

Voici une solution permettant de résoudre ce problème à taper en mode console:

export LANGUAGE="fr_FR.ISO-8859-15@euro"
export LC_ALL="fr_FR.ISO-8859-15@euro"
export LANG="fr_FR.ISO-8859-15@euro"

Et bien sur pour finir on régénère le charset:

locale-gen fr_FR.ISO-8859-15@euro

Bien entendu cette solution est à personnaliser suivant le charset utilisé ici j'utilise le charset "fr_FR.ISO-8859-15@euro".