Swedish characters in 0.8.7e

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

Moderators: Developers, Moderators

Post Reply
SLobodan
Posts: 2
Joined: Wed Mar 30, 2011 12:13 pm

Swedish characters in 0.8.7e

Post by SLobodan »

I'm having difficulty displaying swedish national characters (åäöÅÄÖ) in Cacti.

Things are retrieved correctly by snmpwalk:
  • TSAB-MIB::displayDescription.101000124 = STRING: 41531 - Hemmesta centrum (åäöÅÄÖ)
But when the graph appears, all the characters within parenthesis seem to have been replaced by blanks:
test2.png
test2.png (15.26 KiB) Viewed 636 times
Rrdtool appears to be able to show characters correctly when invoked from the command-line:
test.png
test.png (16.22 KiB) Viewed 636 times
A !verboose query" for this paricular item to the device looks as follows:
  • + Found item [ifDescr='41531 - Hemmesta centrum ( )'] index: 101000124 [from value]
I'm using Cacti 0.8.7e on Ubuntu 10.04.

Does anyone have any ideas on how to fix this?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Swedish characters in 0.8.7e

Post by gandalf »

I fear this is a victim of some strict escapeshellarg or the like.
Please tell me your system settings related to swedish language so I can reproduce
R.
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: Swedish characters in 0.8.7e

Post by noname »

Though this is the case of 0.8.7g, does this topic help?
http://forums.cacti.net/viewtopic.php?f=2&t=42046
SLobodan
Posts: 2
Joined: Wed Mar 30, 2011 12:13 pm

Re: Swedish characters in 0.8.7e

Post by SLobodan »

Gandalf, I'm not sure what you need in terms of "system settings", so I've attached a screen dump of the operating systems settings + output from the Cacti TechSupport page.

Noname, no I'm afraid the "Cerylliic" case your referring to doesn't help. RRDtool can display Swedish characters without problems. I've tried to follow the related issue "Cacti russian charset description to host", but could only find the first two "Code" changes (my code appears to be different); i implemented the first two, but that doesn't help either.
Attachments
TechSupport.pdf
(111.36 KiB) Downloaded 71 times
Skärmbild-Språk och text-1.png
Skärmbild-Språk och text-1.png (28.4 KiB) Viewed 627 times
Skärmbild-Språk och text.png
Skärmbild-Språk och text.png (32.88 KiB) Viewed 627 times
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests