File page¶
The File page allows you to set properties related to file
operations. Shows warning message if the file contains null characters when opening a file. Null characters are converted into spaces when a file is opened. You must be careful since files containing null characters may corrupt the original file. Notice In the normal mode, EmEditor checks the whole file for null characters. In Fast View mode, EmEditor checks only the beginning of the file: the number of bytes specified in the Maximum bytes to detect UTF-8 text box on the File page of the Customize dialog box (at least 4 KB). Null characters after that are not reported. When opening a file containing a Unicode character that cannot be converted into the specified encoding, a warning message will be displayed: "Some characters cannot be converted using the specified encoding. The file will be corrupted if you continue editing and save the file." For instance, if you try to open a Japanese EUC file with the Japanese Shift-JIS encoding, and if the file contains a character code value not in the range of the Japanese Shift JIS encoding, the warning message will be displayed. Notice Even if this checkbox is checked, some encodings will not display the warning message. For instance, trying to open a Japanese Shift-JIS file with the Japanese EUC encoding will not display the warning message. In the normal mode, EmEditor checks the whole file for invalid characters. In Fast View mode: EmEditor checks only the beginning of the file, the same bytes as the Prompt if a null character is found check box. Invalid characters after that are not reported. If the beginning of the file is detected as UTF-8 and the rest of the file contains a character that is invalid in UTF-8, the normal mode reopens the file in the opening encoding without detecting UTF-8, but Fast View mode keeps UTF-8. Only UTF-8, single-byte encodings, Japanese (Shift JIS, 932), Chinese Simplified (GBK, 936), Korean (949), and Chinese Traditional (Big5, 950) are checked. If the beginning of the file contains both null characters and invalid characters, only the warning message about null characters is displayed. Shows a warning message if the return style in the file is not consistent when opening a file. Disables the Prompt about inconsistent newline characters option if Binary (ASCII View) is selected for the encoding. Shows the file name with the full path on the EmEditor window title. If this is checked, EmEditor will not show the file name with the full path on the EmEditor window title, unless window is active. Enables the Notepad-like diary function. If you save with .LOG on the first line, it will automatically insert time and
date at the end of document each time you open the file. Finds "charset=..." from HTML files, "encoding=..." from XML files, or "#coding=..." from Python and Ruby files, and use the corresponding encoding. If you open HTML, XML, Python, or Ruby files, check only this option and clear the other options. Statistically detects code page from all available code pages. The detection can make mistakes especially when the file is very small. This option does not include HTML/XML charset detection. Detects whether the file contains a Byte Order Mark (BOM) signature, and if it detects the BOM signature, EmEditor will open the file as UTF-16LE, UTF-16BE, or UTF-8 file. Statistically detects UTF-8. When this is checked and the Detect UTF-8 checkbox is also checked, UTF-8 takes precedence if the file can be interpreted both as UTF-8 and the selected encoding. For example, a file contains only ANSI characters (alphabets and numbers), it can be opened without any problems both as UTF-8 and Western European. In this situation, EmEditor opens the file as UTF-8. EmEditor also opens an empty file as UTF-8 if this is checked. CSV formats checker here are detected when EmEditor opens a file. CSV formats can be defined in the CSV page of the Customize dialog box. In order to be detected, the CSV file must be at least two lines long, and the same number of delimiters must be used at each line of the file. Selects the encoding to open. Selects what to do if the file you are editing is changed by another program. Ignore Does not reload the file even if the file is modified by another program. This option does not change the read-only status of EmEditor even if the read-only attribute of the file is changed. Prompt Displays a message box to ask whether it is OK to reload the file. This option allows changes to the read-only status of EmEditor when the read-only attribute of the file is changed. Auto-Reload Always reloads the file unless it has been modified. This option allows changes to the read-only status of EmEditor when the read-only attribute of the file is changed. Keep Locked Exclusively opens the file with EmEditor and prohibits another program to write the file while the file is open. This option allows changes to the read-only status of EmEditor when the read-only attribute of the file is changed. If you save a file as a different name, with All Files (*.*) selected in the File Type combo box, and do not specify the file extension, the file extension will be the one you selected in this text box. Displays a message box if the opened file is deleted by another program.Prompt if a null character is found checkbox¶
Prompt if an invalid character is found checkbox¶
Prompt about inconsistent newline characters checkbox¶
Except for binary files checkbox¶
Show the file name with the full path checkbox¶
Without the full path if not active checkbox¶
Notepad-compatible diary checkbox¶
Detect HTML/XML charset checkbox¶
Detect all checkbox¶
Detect Unicode signature (BOM) checkbox¶
Detect UTF-8 checkbox¶
Prefer UTF-8 checkbox¶
CSV files to detect list box¶
Opening encoding drop-down list box¶
Changed by another program drop-down list box¶
Default extension text box¶
Prompt if the file is deleted checkbox¶