Code

at least freebsd will not do utf8 bits properly without this
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 6 Mar 2006 07:15:45 +0000 (07:15 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 6 Mar 2006 07:15:45 +0000 (07:15 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@772 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/src/rrd_graph.c

index 7adf04a8324ce1647f0497068cb4233a2f4939a4..6dbece3612d84421b2ff20b274c4cbad6b27077b 100644 (file)
@@ -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;