EmEditor Home - EmEditor Help - Command Reference - File category

List of Encodings to Reload command

Summary

Reloads the current file with a specified encoding (multiple items).

Description

This command consists of multiple menu items. You can select from predefined encodings. This command reloads the currently opened file from the disk using the specified encoding. If the document is changed within EmEditor, the prompt message "Are you sure you want to abandon changes?" appears. Selecting Yes will abandon the changes without saving, and will reload the new contents. Selecting No will abort reloading and will allow you to continue editing the document.

How to Run

Plug-in Command ID

Macros

[JavaScript]

editor.ExecuteCommandByID(6656 + i);  // i is an integer from 0 through 255

[VBScript]

editor.ExecuteCommandByID 6656 + i  ' i is an integer from 0 through 255

Copyright 2003-2014 by Emurasoft, Inc.