EmEditor Home - EmEditor Help - EmEditor Macro Reference - Document Object

Encoding Property

Retrieves or sets the current encoding of the opened file.

[JavaScript]

nEncoding = document.Encoding;

document.Encoding = nEncoding;

[VBScript]

nEncoding = document.Encoding

document.Encoding = nEncoding

Parameters

nEncoding

Select from the Encoding Constants, or specify any code page used in the Windows Operating System.

Version

Supported on EmEditor Professional Version 4.00 or later.

Copyright 2003-2015 by Emurasoft, Inc.