SaveFile UTF-8 as Eastern Europea(1250)

English main discussion
Post Reply
  • Author
  • Message
Offline
Posts: 282
Joined: Thu Sep 10, 2015 9:53 am
Location: Deutschland

SaveFile UTF-8 as Eastern Europea(1250)

Post 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?

KDJ
Offline
Posts: 1949
Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland

Post by KDJ »

sexy96

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

Offline
Posts: 282
Joined: Thu Sep 10, 2015 9:53 am
Location: Deutschland

Post by sexy96 »

Thanks.

Offline
Posts: 282
Joined: Thu Sep 10, 2015 9:53 am
Location: Deutschland

Conversion of UTF to ANSI

Post 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: żółć
Last edited by sexy96 on Tue May 07, 2019 5:55 am, edited 1 time in total.

Offline
Posts: 171
Joined: Thu Dec 01, 2011 11:15 pm
Location: Россия

Post by LonerD »

"Save as" Command(4106, 1)
Or SAVECODEPAGES in menu (default hotkey F12).

Offline
Site Admin
Posts: 6417
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

A little bit simpler in test version (x86 / x64):
"Save as ANSI CP-1250" SaveFile("", 1250)

Offline
Posts: 282
Joined: Thu Sep 10, 2015 9:53 am
Location: Deutschland

Post by sexy96 »

It's all for save.
I only want to exchange during editing
UTF-8 on ANSI by clicking on the icon.
Post Reply