MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / IsValidFileCodePage

Method IsValidFileCodePage

source/script.h:1304–1307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1302 }
1303
1304 static bool IsValidFileCodePage(UINT aCP)
1305 {
1306 return aCP == 0 || aCP == 1200 || IsValidCodePage(aCP);
1307 }
1308
1309 static UINT ConvertFileEncoding(LPTSTR aBuf)
1310 // Returns the encoding with possible CP_AHKNOBOM flag, or (UINT)-1 if invalid.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected