ahk2exe needs /CP option

Propose new features and changes
guruglenn
Posts: 7
Joined: 31 Jul 2015, 04:36

ahk2exe needs /CP option

Post by guruglenn » 06 Nov 2015, 01:12

AutoHotKey has a /CP command line option to specify the code page of the script. This is great, I just found it, and that solved an issue I had been seeing because of having my default text editor save in UTF-8 without BOM.

However, ahk2exe _doesn't_ have a /CP command line option, so how can I compile such scripts? (short of adding the BOM).

Seems like an inconsistency that should be resolved.

lexikos
Posts: 9592
Joined: 30 Sep 2013, 04:07
Contact:

Re: ahk2exe needs /CP option

Post by lexikos » 06 Nov 2015, 01:19

If you or anyone else would like to take a crack at implementing it, you can fork the Ahk2Exe repo on GitHub. Ahk2Exe is an AutoHotkey script.

User avatar
joedf
Posts: 8965
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: ahk2exe needs /CP option

Post by joedf » 06 Nov 2015, 23:32

Hmm interesting, I think ill make a pull request for that.
Of course, fincs has been a little busy recently so he has not yet merged all my patches yet, but if I have time I'll see to adding this in, including the "unsuccessful compilation" issue that's there right now. :)
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]

User avatar
joedf
Posts: 8965
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: ahk2exe needs /CP option

Post by joedf » 03 Dec 2015, 00:33

I made a pull request here. https://github.com/fincs/Ahk2Exe/pull/41
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]

Post Reply

Return to “Wish List”