Characters aren't displayed correctly
Characters can be garbled if CotEditor fails to detect the file's text encoding correctly. In such cases, change the text encoding as described below:
- Choose Format > File Encoding, and select an encoding from the list.
- When a dialog appears, click Reinterpret.

The behavior of each button in this dialog is as follows:
- Cancel
- Cancels the operation. The document is left unmodified.
- Reinterpret
- Reopens the file with the new encoding.
- Convert
- Converts the text from the current encoding to the new one.
- You can also use the “File Encoding” toolbar item to change the text encoding.
- Changing the priority of auto-detection may help to reduce the occurrences of garbled characters.
=> Setting the priority of encoding auto-detection
- If you enable “Refer to encoding declaration in document” in the Format preferences pane, in-document encoding declarations, such as “
encoding=” or “@charset,” will take precedence when CotEditor detects the text encoding.
=> Using encoding declarations for auto-detection