Converting non-UTF-8 text files

From NeoWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 15:59, 31 October 2006 (edit)
Jgd (Talk | contribs)

← Previous diff
Current revision (18:41, 2 November 2006) (edit) (undo)
Jgd (Talk | contribs)
(botlangbar -> Fr)
 
(2 intermediate revisions not shown.)
Line 1: Line 1:
-<!-- 
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). 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. 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.
---> 
-UTF-8 est l'encodage standard utilisé pour tous les textes dans NeoOffice (aussi bien que dans Mac OS X et dans beaucoup d'applications récentes sur d'autres plateformes). 
-Parfois vous devez travailler sur des fichiers encodés dans des systèmes "hérités" ISO, Mac ou Windows. Si le fichier est un fichier "simple texte" (par opposition à "texte stylé" comme RTF, .doc, ou d'autres formats de fichiers de texte "binaires", ou si vous pouvez enregistrer le document en format simple texte, vous pouvez le faire convertir en UTF-8 par NeoOffice . 
-<!-- 
==Importing the non-UTF-8 file== ==Importing the non-UTF-8 file==
* Choose '''Open…" from the '''File''' menu * Choose '''Open…" from the '''File''' menu
Line 14: Line 9:
* In the resulting "ASCII Filter Options" dialogue, choose "Western Europe (ISO-8859-1)" (or the appropriate encoding for your text file) in the "Character set" drop-down * In the resulting "ASCII Filter Options" dialogue, choose "Western Europe (ISO-8859-1)" (or the appropriate encoding for your text file) in the "Character set" drop-down
*: If you intend to use this document in NeoOffice, be sure to choose the appropriate language, as well (to ensure spell-check works, among others) *: If you intend to use this document in NeoOffice, be sure to choose the appropriate language, as well (to ensure spell-check works, among others)
---> 
- 
-==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== ==Exporting the file as UTF-8==
Line 30: Line 17:
* Press "Yes" to dismiss the "may loose formatting" dialogue (if enabled) * 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 * In the resulting "ASCII Filter Options" dialogue, choose "Unicode (UTF-8)" in the "Character set" drop-down
-* Finish saving and it's OK+* Finish saving and all is 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. 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.
 +
 +{{botlangbarEN|[[Fr:Conversion_de_fichiers_non_encodés_en_UTF-8|Français]]}}
[[Category:NeoOffice]][[Category:Tips and Hints]] [[Category:NeoOffice]][[Category:Tips and Hints]]

Current revision

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.

Importing the non-UTF-8 file

  • Choose Open…" from the File menu
  • In the "File type" drop-down, select "Text Encoded (*.txt)" near the bottom of the section of text/word processing documents
  • Select the file encoded in ISO-8859-1 (or your encoding, of course)
  • In the resulting "ASCII Filter Options" dialogue, choose "Western Europe (ISO-8859-1)" (or the appropriate encoding for your text file) in the "Character set" drop-down
    If you intend to use this document in NeoOffice, be sure to choose the appropriate language, as well (to ensure spell-check works, among others)

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 all is 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.



This article in other languages: Français
Personal tools