From: Tobias Oetiker Date: Mon, 6 Mar 2006 07:15:45 +0000 (+0000) Subject: at least freebsd will not do utf8 bits properly without this X-Git-Tag: 1.2.13~25 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e1dd7222d11d41ddf0c7f01d3934f8618fb696fc;p=thirdparty%2Frrdtool-1.x.git at least freebsd will not do utf8 bits properly without this git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@772 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_graph.c b/src/rrd_graph.c index 7adf04a8..6dbece36 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -2884,6 +2884,9 @@ rrd_graph_init(image_desc_t *im) #endif #ifdef HAVE_SETLOCALE setlocale(LC_TIME,""); +#ifdef HAVE_MBSTOWCS + setlocale(LC_CTYPE,""); +#endif #endif im->yorigin=0; im->xorigin=0;