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

Encoding Property

Retrieves or sets the current encoding of the opened file.


nEncoding = document.Encoding;

document.Encoding = nEncoding;


nEncoding = document.Encoding

document.Encoding = nEncoding



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


Supported on EmEditor Professional Version 4.00 or later.

Copyright 2003-2016 by Emurasoft, Inc.