forked from msys2/msys2-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle 8-bit characters under LOCALE=C
When the character set is specified as ASCII (by setting the locale to `C`), we should handle data outside the 7-bit range gracefully by simply copying it, even if it is technically no longer ASCII. Cygwin, however, wants to be a lot stricter than that. Let's be more lenient in MSYS2 by making the strict 7-bit only handling contingent on the `STRICTLY_7BIT_ASCII` macro (which we never set because we don't want it). This addresses the expectations of two of Git's test cases: t7400.108(submodule with UTF-8 name) and t9300.193(X: handling encoding). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
- Loading branch information
Showing
3 changed files
with
6 additions
and
2 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
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