Converting non-UTF-8 text files

From NeoWiki

Revision as of 15:54, 31 October 2006 by Jgd (Talk | contribs)
Jump to: navigation, search

UTF-8 is the standard encoding for all text entered into NeoOffice (as well as in Mac OS X and most modern applications on other platforms).

Sometimes you need to work with files in "legacy" ISO, Mac, or Windows encodings. If the file is a "plain text" file (as opposed to "styled text" like RTF, .doc, or other "binary" text file formats), or if you can save the document in a plain text format, you can make NeoOffice convert the file to UTF-8.


Importation de fichiers non encodés en UTF-8

  • Choisir Ouvrir… depuis le menu Fichier.
  • Dans le menu déroulant "Type de fichier", sélectionner "Texte codé (*.txt) vers le bas de la section des documents de textes.
  • Sélectionner le fichier encodé en ISO-8859-1 (ou votre encodage, évidemment). Cliquer sur Ouvrir.
  • Dans la fenêtre de dialogue "Options de filtre ASCII", choisir "Europe occidentale (ISO-8859-1)" (ou l'encodage adapté à votre fichier) dans le menu déroulant "Jeu de caractères".
    Si vous avez l'intention d'utiliser ce document dans NeoOffice , assurez-vous de choisir la langue convenable aussi (afin d'être sûr que la correction orthographique fonctionne, entre autres).

Exporting the file as UTF-8

  • Choose Save As… from the File menu
  • In the "File type" drop-down, select "Text Encoded (*.txt)" near the bottom of the list
  • Check the "Edit filter settings" checkbox
  • Enter the new filename and hit return
  • Press "Yes" to dismiss the "may loose formatting" dialogue (if enabled)
  • In the resulting "ASCII Filter Options" dialogue, choose "Unicode (UTF-8)" in the "Character set" drop-down
  • Finish saving and it's OK


A bit complicated, but it works fine. Those encoding problems are frequent and boring for non-English speakers (writers…). You can do this conversion in TextEdit, but I wanted to use Neo and only Neo.

Personal tools