From 1ca92b53db85c94833f69d01aea3601ab2252337 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Wed, 21 Dec 2022 09:55:31 -0700 Subject: perlapi,POSIX.pod: Note problematic behavior with strftime() Mojibake currently can happen without taking care --- util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'util.c') diff --git a/util.c b/util.c index 27fd6158f9..308b8f5d3c 100644 --- a/util.c +++ b/util.c @@ -4088,7 +4088,8 @@ Note that yday and wday effectively are ignored by these functions, as mini_mktime() overwrites them Also note that they are always executed in the underlying locale of the program, -giving localized results. +giving localized results. Mojibake can result on some platforms if LC_CTYPE +and LC_TIME are not the same locale. =cut */ -- cgit v1.2.1