Next: , Previous: , Up: Preferences Commands   [Contents][Index]

4.9.32 UTF8Auto

Syntax: UTF8Auto [0|1]
Abbreviation: U8A

sets the UTF-8 automatic-detection flag. When this flag is true, ne will try to guess whether a file just loaded is UTF-8 encoded. Moreover, when a non US-ASCII character is inserted in a pure US-ASCII document, ne will automatically switch to UTF-8. See UTF8. The flag is true by default if ne detects UTF-8 I/O at startup. See UTF8IO.

If you invoke UTF8Auto with no arguments, it will toggle the flag. If you specify 0 or 1, the flag will be set to false or true, respectively.