Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sat Feb 16, 2019 12:39 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: [SOLVED] Can't graph degree "°" and accented characters
PostPosted: Sat Nov 24, 2018 5:27 pm 
Offline

Joined: Sat Nov 24, 2018 5:14 pm
Posts: 2
Hi !

I can't draw legends with ° nor accented characters.
In mariadb I see the good characters.
But in the rrdtool command (found in log file) they have disappeared.

DB :
Code:
%6.2lf °C

Cmd :
Code:
GPRINT:e:MAX:'Max. \:%6.2lf C'


Here is my conf :

cacti : 1.1.38
rrdtool : 1.6.x
mariadb : 10.1
php : 7.0.30

/etc/php/7.0/apache2/php.ini :
Code:
default_charset = "UTF-8"


/etc/apache2/conf-available/charset.conf
Code:
AddDefaultCharset UTF-8


locale -a :
Code:
C
C.UTF-8
en_GB.utf8
en_US.utf8
fr_FR.utf8
POSIX


locale :
Code:
LANG=fr_FR.UTF-8
LANGUAGE=
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=


If someone could help ... :)

regards


Last edited by Piscenois on Sat Nov 24, 2018 5:58 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Can't graph degree "°" and accented characters
PostPosted: Sat Nov 24, 2018 5:58 pm 
Offline

Joined: Sat Nov 24, 2018 5:14 pm
Posts: 2
Solved with mysql configuration :
Code:
collation-server = utf8mb4_unicode_ci


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group