No cache version.

Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.

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)Article publié le 25/01/2008 23:31:17


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 :
Cliquer du bouton droit sur le projet
Sélectionner "Properties" dans le menu contextuel
Dans la partie "Info", plus précisément "Text file encoding", sélectionner UTF-8


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
Cliquer dans la barre de menu "Window" puis sélectionner "Preferences"
Sélectionner "General" puis "Workspace"
Dans la partie "Text file encoding", cocher Other, puis sélectionner UTF-8

Avatar :: Steph Un article de Steph

Source : indéterminée


Commenter l'article

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 -

Sélection, tri et recherche d'articles
FILTRER :
TRIER :1er critère : 2e critère :
CHERCHER : Dans les titres Dans le contenu


[Afficher les liens en fonction des critères du formulaire ci-dessus]

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.