Ignore:
Timestamp:
Jan 29, 2022, 3:41:10 AM (3 years ago)
Author:
bird
Message:

grep: Use get_crt_codepage(). Don't default to the UTF-8 manifest for older VCC versions as the CRT won't do the right thing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/grep/lib/regcomp.c

    r3532 r3548  
    882882# ifdef _MSC_VER
    883883  (void)codeset_name;
    884   if (GetACP() == 65001 /*utf-8*/)
     884  if (get_crt_codepage() == CP_UTF8)
    885885# else
    886886  codeset_name = nl_langinfo (CODESET);
Note: See TracChangeset for help on using the changeset viewer.