diff options
author | Karl Williamson <khw@cpan.org> | 2022-12-21 13:24:28 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2023-01-05 19:57:29 -0700 |
commit | 2935c197ac4c1c48a02fd3c107ffdcdcda54b99a (patch) | |
tree | 9fa7d2452442223b02dba9f49e93b8d9f0239037 /ext/POSIX | |
parent | fdfa975e4ba4d1357e4f528b24e4ef24b001a6b3 (diff) | |
download | perl-2935c197ac4c1c48a02fd3c107ffdcdcda54b99a.tar.gz |
Fix mojibake in POSIX::strftime()
Some platforms require LC_CTYPE and LC_TIME to be the same. This
toggles LC_CTYPE if necessary.
Diffstat (limited to 'ext/POSIX')
-rw-r--r-- | ext/POSIX/lib/POSIX.pod | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/POSIX/lib/POSIX.pod b/ext/POSIX/lib/POSIX.pod index 30f224a2f6..c7e9bad2bb 100644 --- a/ext/POSIX/lib/POSIX.pod +++ b/ext/POSIX/lib/POSIX.pod @@ -1854,9 +1854,6 @@ The given arguments are made consistent as though by calling C<mktime()> before calling your system's C<strftime()> function, except that the C<isdst> value is not affected. -Note that mojibake can result on some platforms if LC_TIME and LC_CTYPE -are not the same locale. - The string for Tuesday, December 12, 1995. $str = POSIX::strftime( "%A, %B %d, %Y", |