This page explains how to ensure that a plain text (.txt) file is saved in an appropriate Unicode formatting. Saving a plain text document file as Unicode will allow you to use the text across multiple platforms and systems with minimal formatting changes. This is especially important if the text will be placed on the Web, either within the document or included in a Web page.
Switch Keyboards or Use Codes
- Open a blank file.
- Switch your keyboards to the appropriate script or input appropriate symbol codes.
- Input text as needed.
Notepad, the free text editor on Windows, saves in ANSI Latin encoding by default. To ensure that you are saving a Unicode .txt file, do the following:
- Go to the File then Save or Save As… menu.
- In the Encoding menu, change the value from ANSI to UTF-8 or other appropriate Unicode value.
Text Edit, the free text editor on the Mac, saves in Unicode by default, but to ensure that you are saving a Unicode .txt file, do the following:
- Text Edit saves as RTF (Rich Text) by default and includes formatting and font options. To convert your file to true plain text (.txt), go to the Format menu and select Make Plain Text. The formatting options will disappear and the text will likely change appearance.
- When saving a file (File : Save), make sure the Plain Text Encoding menu is set to Unicode (UTF-8) or whatever encoding you want.
Note: If you don’t see this menu, your file is probably set to be Rich Text (RTF).