Page 1 of 1

SaveFile UTF-8 as Eastern Europea(1250)

Posted: Sun May 05, 2019 8:15 am
by sexy96
I have an open UTF-8 file
I would like to save it for 1 click (Eastern Europea-1250)

I found only:
"TEST" Call("SaveFile::SaveNoBOM") Icon("")

It does not work:
"TEST" Call("SaveFile::Eastern Europea") Icon("")
"TEST" Call("SaveFile::1250") Icon("")

How should it be correct?

Posted: Sun May 05, 2019 3:21 pm
by KDJ
sexy96

"Save as ANSI CP-1250" Call("Scripts::Main", 1, "EvalCmd.js", `AkelPad.SaveFile(0, AkelPad.GetEditFile(0), 1250);`) Icon(0)

Posted: Sun May 05, 2019 5:29 pm
by sexy96
Thanks.

Conversion of UTF to ANSI

Posted: Sun May 05, 2019 6:17 pm
by sexy96
I have an open UTF-8 file
I would like to change this file when editing to ANSI(1250)

I found only Reopen
"Reopen file as ANSI" Command(4122) Icon(0)

The word: żółć turns into: żółć

Posted: Mon May 06, 2019 10:46 pm
by LonerD
"Save as" Command(4106, 1)
Or SAVECODEPAGES in menu (default hotkey F12).

Posted: Tue May 07, 2019 5:08 am
by Instructor
A little bit simpler in test version (x86 / x64):
"Save as ANSI CP-1250" SaveFile("", 1250)

Posted: Tue May 07, 2019 5:58 am
by sexy96
It's all for save.
I only want to exchange during editing
UTF-8 on ANSI by clicking on the icon.