Vous devez être membre et vous identifier pour publier un article.
Les visiteurs peuvent toutefois commenter chaque article par une réponse.
Eclipse encoding UTF8 au lieu de ISO-8859-1
![Astuces de l’Infobrol (Développement)](https://www.gaudry.be/img/nz/astc_17.gif)
Si vous utilisez le format de caractères UTF-8, vous devez le spécifier dans Eclipse.
Vous pouvez le faire de cette manière :
![](https://www.gaudry.be/en/img/smiley/go.gif)
![](https://www.gaudry.be/en/img/smiley/go.gif)
![](https://www.gaudry.be/en/img/smiley/go.gif)
![](https://www.gaudry.be/en/en/img/snapshots/eclipse-utf8.gif)
Pour Eclipse Galileo :
L’option est directement affichée dans les propriétés du projet, dans la catégorie "Resource".
Il est aussi possible de le spécifier par défaut pour l’ensemble des projets du workspace
![](https://www.gaudry.be/en/img/smiley/go.gif)
![](https://www.gaudry.be/en/img/smiley/go.gif)
![](https://www.gaudry.be/en/img/smiley/go.gif)
![Avatar :: Steph Avatar :: Steph](http://www.gaudry.be/img/rand/steph.gif)
Source : indéterminée
![Commenter l'article](https://www.gaudry.be/img/nz/btn_rep.gif)
Commentaires
09/08/2009 19:11:35 : Galileo
Sous Linux, pas de problèmes avec l'encodage UTF-8, mais sous Windows les fichiers édités ou les nouveaux fichiers se retrouvent souvent en ISO-8859-1 Western European.
J'ai testé la méthode suivante sans trop de succès :
::-> Cliquer dans la barre de menu "Window" puis sélectionner "Preferences"
::-> Sélectionner "General" puis "Content Types"
::-> Sélectionner dans la partie "Content types" "Text" puis "PHP Content Type"
::-> Dans la textbox "Default encoding", introduire UTF-8, puis cliquer sur le bouton "Update"
J'ai même redémarré Eclipse, puis fait un clean, mais sans succès.
Je vous informerais si je trouve la solution.
- Steph -
English translation
You have asked to visit this site in English. For now, only the interface is translated, but not all the content yet.If you want to help me in translations, your contribution is welcome. All you need to do is register on the site, and send me a message asking me to add you to the group of translators, which will give you the opportunity to translate the pages you want. A link at the bottom of each translated page indicates that you are the translator, and has a link to your profile.
Thank you in advance.
Document created the 13/09/2004, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/ast-rf-430.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.