accents in the graph

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
betobaracho
Posts: 21
Joined: Wed Feb 24, 2010 9:51 am

accents in the graph

Post by betobaracho »

How do I show the host names with special characters.
as:
ç, ã ...
in my graph appears as in att
Attachments
t.png
t.png (2.21 KiB) Viewed 864 times
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Re: accents in the graph

Post by browniebraun »

betobaracho wrote:How do I show the host names with special characters.
as:
ç, ã ...
in my graph appears as in att
Cacti 0.8.7x does not support i18n. Try to set the environment variable for the language you're using at the beginning of function "rrdtool_function_graph". (Your have to fill in the correct language code like "de_DE.UTF8" or "fr_FR.UTF8".)

Add following command at line ~547 in /lib/rrd.php:

Code: Select all

putenv("LANG=fr_FR.UTF8");
Best regards
-Andreas-
Attachments
special_character.jpg
special_character.jpg (4 KiB) Viewed 839 times
Hat das Blümchen einen Knick, war der Schmetterling zu dick! ;)
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
betobaracho
Posts: 21
Joined: Wed Feb 24, 2010 9:51 am

Post by betobaracho »

I understand you. I did what you recommended me but it did not work.

I added the line indicated in the function rrdtool_function_graph but unfortunately failed.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests