FAQMain »» File
|When I try saving a file as a file name without an extension, ".txt" will be added automatically. How can I prevent an extension from being added to a file name?|
|Surrounding the file name with quotation marks ("") will prevent an extension from being appended. For example, "file" will just be saved as file instead of file.txt.|
|When opening a file, EmEditor detects the file as a Western European even though it is actually a Japanese (Shift JIS) file.|
|On the File tab of Properties, uncheck Detect All if it is checked. The code page detection can make mistakes, especially with small files.|
|How can I close all windows at the same time?|
|Click X in the upper right corner of the window while pressing the SHIFT key. Alternatively, you can close all in the following ways:
|How can I open from the same folder in the open dialog?|
|Select Customize under the Tools menu, and check the Remember Last Folder check box on the Customize dialog box.
Alternatively, display the Properties for the EmEditor shortcut that you usually use to run EmEditor, and add /cd in the Target text box. For instance, if the install folder of EmEditor is "C:\Program Files\EmEditor", enter "C:\Program Files\EmEditor\emeditor.exe" /cd. Moreover, fill the Start in text box as a folder you want to open from.
|How can I save an empty file?|
|Choose Properties for Current Configuration under the Tools menu and on the File tab uncheck the Delete Empty Files when Saving box.|
|Printing font size is too small.|
|Choose Properties for Current Configuration under the Tools menu and click the Font button on the Print tab to customize font and size.|
|When reading Macintosh text files, some characters are converted to different characters. How can I read Macintosh text files correctly?|
|Macintosh uses slightly different code pages than Windows does. In Windows 2000/XP/2003/Vista, where Macintosh code pages are installed, you can convert Macintosh text files into Windows text files. First, select the Define Encodings command under the Tools menu. In the Define Encodings dialog box, press the New button, and select a Macintosh encoding, for example, "10001 (MAC - Japanese)". Select an appropriate character set, for example, Japanese. Click OK twice to close dialogs.
Next, select the Open command under the File menu, select your defined encoding, for example, "10001 (MAC - Japanese)" from the Code Page combo box, and then select a Macintosh file that you would like to read.
In Windows 98/Me, where Macintosh code pages are not installed, you cannot read Macintosh text files correctly if they contain special characters that cannot be read by Windows code pages.
|When using a shared folder on a network, is it possible to prevent other users from making changes to a file that I have open and I am working on?|
|Yes, it is possible. On the File tab of Properties, select Keep Locked from the Changed by Another Program combo box. Other users will still be able to open the file but they will not be able to save changes to the file until you have closed the file.|
|How do I print my document in color or in black and white?|
|To print in black and white, click Properties for Current Configuration under the Tools menu, click the Print tab, and then select the Ignore Color and Underlines check box. To print in color, clear the check box.|
|What can I do to speed up opening a very large file?|
|Some configurations could slow down performance. Check the following points:
|How can I paste a Japanese (or Korean, Chinese, etc.) Word document into EmEditor and save as a text file?|
|If Windows does not display Japanese, Korean, or Chinese fonts properly, you will need to go to Control Panel, select Regional and Language Options, click the Languages tab, and then check Install files for East Asian languages.
Open your Word document, select the text you want to copy, and then press CTRL + C to copy the text to the Clipboard.
Launch a new EmEditor window and press CTRL + V to paste the Clipboard contents to the EmEditor window. You should see the text in Japanese (or Korean, Chinese, etc.). If you cannot see the text properly, select Japanese (or Korean, Chinese, etc.) from the Font Category sub menu under the View menu. If you still cannot see it properly, select the Font command under the View menu, and select an appropriate font, for instance, MS Gothic if it is Japanese.
To save the document, select the Save As command under the File menu, and make sure you select either Unicode or UTF-8 from the Encoding drop-down list box. You may also select a locale-specific encoding such as Japanese (Shift-JIS) if you wish.
|How can I open an XML file as Western European, not as UTF-8?|
|If an XML file is opened as Unicode, display the Current Configuration Properties, select the File tab, and check Opening Encoding drop-down list box. If this is Unicode, select System Default. If Detect HTML/XML Charset check box is checked, a "encoding=" directive specified within an XML file is searched, and EmEditor uses the specified encoding if the directive is found. Note that the encoding specified for opening files is different from the encoding specified for new files or for saving files.|
|How can I start a new Java file or XML file as Western European, not as UTF-8?|
|By default, Java files and XML files will start as UTF-8 when the New with Java or XML command is selected. You can change this default behavior by opening the Configuration Properties for Java (or XML), selecting the File tab, clicking the New Files button, and then selecting System Encoding from the Encoding drop-down list box. Note that the encoding specified for new files is different from the encoding specified for opening files or for saving files.|
|EmEditor is specified as an external text editor from another application. Why doesn't the change made by EmEditor reflect the application?|
|If EmEditor is specified as an external text editor from another application such as a mail client program, and if the application monitors the EmEditor process for its termination and the file change, the application might not reflect an edited and saved file with EmEditor. To work around this, specify the /sp option to instruct EmEditor to be launched as a separate process. In this case, however, each EmEditor window will be displayed as a separate group.|
|Can I open GB18030 files?|
|Yes. First, go to Define Encodings on the Tools menu, click New and select GB18030 in the Encoding drop-down list. When you open a file, make sure you select this new defined encoding.|
|How can I convert file encodings by the command line?|
|Use the following command line options:
cp Encoding --- sets an encoding to open as.
cps Encoding --- sets an encoding to save as.
sa "DestFile" --- specifies a file name to save as after the encoding conversion
ss+ --- saves the file with a Unicode signature (BOM) after the encoding conversion.
ss- --- saves the file without a Unicode signature (BOM) after the encoding conversion.
For instance, if you want to convert a file from Western European (iso-8859-1) to UTF-8, use the following syntax:
"windows1252.txt" cp 1252 cps 65001 ss- sa "utf8.txt"
See Encoding Constants for the list of encodings.
See Using Command Line Options for more information.
|How can I open a file with a certain file extension by double clicking in Explorer?|
|Select the Customize command under the Tools menu. Select the File tab. Click the Associate with EmEditor button, and you can enter file extension to be associated with EmEditor.|
|How can I open a file exclusively?|
|Select Properties for All Configurations on the Tools menu (or after you open the file, select Properties for Current Configuration on the Tools menu). Select the File tab, and select Keep Locked in the Changed by Another Program drop-down list box.|
|How can I convert the encoding of all files in the specified folder to a specified encoding?|
|You can use the ConvertEncoding.jsee macro to convert all files in the specified folder to a specified encoding.
You can download the macro file at http://www.emeditor.com/modules/mydownloads/singlefile.php?cid=8&lid=286 .
Please read comments of the macro file to change the settings such as the folder path, file extension, source file encoding, destination file encoding, and destination file Unicode Signature (BOM).
|Internet Explorer terminates when I view source of a local HTML file and then save the file.|
|On Windows XP, this issue appears when the Use Recycle Bin to Backup check box is checked in the Backup tab of configuration properties. Please clear the Use Recycle Bin to Backup check box.|
|What are three invalid characters at the beginning of my file?|
|The three characters at the top of your file is the "Byte Order Mark" of a UTF-8 file. By default, a Java file is created as UTF-8 with BOM. You can change the default code tab for new files from Java Properties > File tab > New Files button, and change the code tab to Normal ANSI, or uncheck the Add a Unicode Signature (BOM) box.|
[ Back to Index ]