Lugaru's Epsilon
Programmer's
Editor

Context:
Epsilon User's Manual and Reference
   . . .
   Command Reference
      abort
      about-epsilon
      align-region
      . . .
      zoom-window
   Variable Reference
      . . .
      delete-hacking-tabs
      delete-options
      detect-encodings
      diff-match-characters
      diff-match-characters-limit
      . . .
   Changing Epsilon
   . . .

Previous   Up    Next
delete-options  Variable Reference   diff-match-characters


Epsilon User's Manual and Reference > Variable Reference >

detect-encodings: preference variable

Default value: 127

Bits in this variable control which Unicode encodings Epsilon tries to auto-detect when it reads a file (when a file doesn't start with a byte order mark that specifies a particular encoding).

A value of 1 makes Epsilon autodetect most valid UTF-8 files. A value of 2 or 4 makes Epsilon autodetect some UTF-16LE and UTF-16BE files, respectively.

A value of 8 makes Epsilon scan the file's first line (treating it as plain ASCII) for a file variable named "coding" that specifies the correct encoding. It then interprets the entire file using the specified encoding. The coding value specified must match a known encoding name or alias, or it will be ignored.

By default, Epsilon tries to autodetect all of these.

More info:

Unicode Features
default-read-encoding



Previous   Up    Next
delete-options  Variable Reference   diff-match-characters


Lugaru Copyright (C) 1984, 2012 Lugaru Software Ltd. All Rights Reserved.