From bc4f943025593525a3acce0bbd5a3942080d3d2a Mon Sep 17 00:00:00 2001 From: Kiyoshi OHGISHI Date: Mon, 16 May 2011 15:56:43 +0200 Subject: [PATCH] The charset of anacron's mail is always ANSI_X3.4-1968. There are no setlocale is anacron's source. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcela Mašláňová --- anacron/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/anacron/main.c b/anacron/main.c index c1a97e9..00c6a4e 100644 --- a/anacron/main.c +++ b/anacron/main.c @@ -33,6 +33,7 @@ #include #include #include +#include #include "global.h" #include "gregor.h" @@ -442,6 +443,8 @@ main(int argc, char *argv[]) anacrontab = NULL; spooldir = NULL; + setlocale(LC_ALL, ""); + if (gettimeofday(&tv, &tz) != 0) explain("Can't get exact time, failure."); -- 2.40.0