-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use system code page for ANSI conversion
Due to problems with the `_autodetect_all` encoding parameter when processing source code files, we are now using a simple `GetACP` API call to retrieve the active code page from Windows, and mapping this to the appropriate encoding. (With support to easily add other encoding mappings in the future.) This should solve the issue described in #186 where the automatic detection was guessing the language incorrectly.
- Loading branch information
1 parent
e960642
commit d84d8b7
Showing
4 changed files
with
52 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ | |
"Type": 10 | ||
}, | ||
"AppVersion": { | ||
"Value": "3.3.7", | ||
"Value": "3.3.8", | ||
"Type": 10 | ||
}, | ||
"Auto Compact": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters