The button for ISO 8859-2

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

The button for ISO 8859-2

Post by sexy96 »

4122 Reopen file as ANSI
4123 Reopen file as OEM
4124 Reopen file as KOI-R
4125 Reopen file as UTF16LE
4126 Reopen file as UTF16BE
4127 Reopen file as UTF8

28592 (ISO 8859-2 Europa Środkowa)
Jaki Command użyć?
"ISO 8859-2" Command(412?) Icon(0)

Offline
Posts: 1161
Joined: Sun Oct 20, 2013 11:44 am

Post by Skif_off »

Try button

Code: Select all

"Reopen as ISO 8859-2" OpenFile("%f", 28592) Icon(0)

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

Post by sexy96 »

It works great, thank you very much.

Offline
Posts: 1161
Joined: Sun Oct 20, 2013 11:44 am

Post by Skif_off »

If option "Don't open a file twice" don't uses:

Code: Select all

"Reopen as ISO 8859-2" Call("Scripts::Main", 1, "EvalCmd.js", `AkelPad.OpenFile(AkelPad.GetEditFile(0), 0x100 /*OD_REOPEN*/, 28592);`) Icon(0)

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

Post by sexy96 »

Thanks
Post Reply