Skip to content

Commit

Permalink
locale.c: Win32: We don't know the locale here
Browse files Browse the repository at this point in the history
And, so we don't know whether it is a UTF-8 locale or not.  So use the
proper enum value to indicate that.
  • Loading branch information
khwilliamson committed Nov 17, 2023
1 parent 575c8a9 commit b14334f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locale.c
Expand Up @@ -5210,7 +5210,7 @@ Perl_get_win32_message_utf8ness(pTHX_ const char * string)

# ifdef USE_LOCALE_CTYPE

return get_locale_string_utf8ness_i(string, LOCALE_IS_UTF8,
return get_locale_string_utf8ness_i(string, LOCALE_UTF8NESS_UNKNOWN,
NULL, LC_CTYPE_INDEX_);
# else

Expand Down

0 comments on commit b14334f

Please sign in to comment.