EmEditor (text editor) Forum Index
   Questions and Answers about Macros
     FileSaveProp PromptUnicode doesn't work
Register To Post

Threaded | Oldest First Previous Topic | Next Topic | Bottom
Poster Thread
Yutaka
Posted on: 5/15/2010 7:11 am
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2397
Re: FileSaveProp PromptUnicode doesn't work
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!




----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

wgf4242
Posted on: 5/14/2010 11:20 pm
Just popping in
Joined: 12/18/2009
From:
Posts: 3
FileSaveProp PromptUnicode doesn't work

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.
Threaded | Oldest First Previous Topic | Next Topic | Top


Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文