#5925
Yutaka Emura
Keymaster

suli2921 wrote:
Thank you, this is very helpful.

For Each doc In editor.Documents
doc.encoding = eeEncodingUTF8
doc.UnicodeSignature = False
editor.ExecuteCommandByID 4107
Next

But you have to activate each document first.


For Each doc In editor.Documents
doc.Activate
doc.encoding = eeEncodingUTF8
doc.UnicodeSignature = False
editor.ExecuteCommandByID 4107
Next