diff options
author | Karl Williamson <khw@cpan.org> | 2023-04-07 09:38:42 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2023-04-15 15:54:07 -0600 |
commit | f3b2b844051098b4b4e7d4de6673c917b30cbc32 (patch) | |
tree | 0ad74006805d69cd18a3dc84e0786fc0d13a286e /locale.c | |
parent | ef3d6bb0585bddf39d7c487f61c9f0572629315c (diff) | |
download | perl-f3b2b844051098b4b4e7d4de6673c917b30cbc32.tar.gz |
locale.c: Update comment
This comment did not reflect what is actually now happening.
Diffstat (limited to 'locale.c')
-rw-r--r-- | locale.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -6426,9 +6426,8 @@ Perl_strxfrm(pTHX_ SV * src) { PERL_ARGS_ASSERT_STRXFRM; - /* For use by POSIX::strxfrm(). The PV in an SV is controlled by LC_CTYPE, - * not LC_COLLATE. If the locales for the two categories differ, LC_CTYPE - * should win out. + /* For use by POSIX::strxfrm(). If they differ, toggle LC_CTYPE to + * LC_COLLATE to avoid potential mojibake. * * If we can't calculate a collation, 'src' is instead returned, so that * future comparisons will be by code point order */ |