Thierry Nkaoua a dit: > ----------------------------- > add: > > setlocale(LC_ALL,""); > > just before the strftime call: > > strftime(graph_label,99,im->xlab_user.stst,localtime(&tilab)); > --------------------------------
Complement if you run your rrdtool scripts from a cronjob, the LANG variable may not be set you can just replace the previous setlocale by: setlocale(LC_ALL," fr_FR"); for french, or with your language code. Have a look at: http://lcweb.loc.gov/standards/iso639-2/langcodes.html if you do not know your language code :)) regards -- TNK www.linux-sottises.net S'il n'y a pas de solution, c'est qu'il n'y a pas de problème! -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
