Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8460
    wgf4242
    Member

    obj = document.Config;
    scfg = obj.FileSave;
    scfg.PromptUnicode = false;
    scfg.Encoding = 28592;
    document.Save("123");

    text

    一二三

    The editor still propmt me the dialog “This document contains characters which will be lost if you save this
    document as the selected encoding for saving.”.

    I found “document.Config.FileSave.PromptUnicode = false” can not change the value.

    #8463
    Yutaka Emura
    Keymaster

    You have to save the configuration object.

    obj.Save();

    before
    document.Save(“123”);

    Please let me know if you have further questions.
    Thank you for using EmEditor!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.