Changing text encodings

Text encodings determine which text characters the editor displays for the file's data.

For example, in the ASCII text encoding, a byte containing the number 65 represents a capital A. In a different text encoding, it could represent a completely different, possibly non-English character.

When dealing with text files across national boundaries, it becomes very important to make sure you are using the correct text encoding.

To change the text encoding:

By default, only a subset of all the available encodings are shown in this menu. To add or remove encodings from the menu:

When you change text encodings, you will be given the option to convert the file to the new encoding or reinterpret the file using the new encoding.

Text encoding also comes into play when you paste text into Coda from another source. If the incoming text cannot be represented in the current encoding, you may be asked if you wish to change the file's encoding to accommodate it.

If you are working with an HTML document, Coda will inspect the document to see if it can automatically determine the text encoding from a <meta> tag.