Permalink
Browse files

locale.c: Windows will never be EBCDIC

This adjusts the conditional compilation so that win32 is a subset of
non-EBCDIC.  This will be useful in the next commit.
  • Loading branch information...
khwilliamson committed Jan 7, 2018
1 parent cf585a6 commit 0022a199cfc1e80ea0e17c34679f0849ae2e27e7
Showing with 3 additions and 3 deletions.
  1. +3 −3 locale.c
View
@@ -3580,8 +3580,7 @@ Perl__is_cur_LC_category_utf8(pTHX_ int category)
save_input_locale));
}
# endif
# ifdef WIN32
# ifdef WIN32
/* http://msdn.microsoft.com/en-us/library/windows/desktop/dd317756.aspx */
if (memENDs(save_input_locale, final_pos, "65001")) {
@@ -3592,7 +3591,8 @@ Perl__is_cur_LC_category_utf8(pTHX_ int category)
goto finish_and_return;
}
# endif
# endif
# endif
/* Other common encodings are the ISO 8859 series, which aren't UTF-8. But
* since we are about to return FALSE anyway, there is no point in doing

0 comments on commit 0022a19

Please sign in to comment.