Cacti doesn't show unicode title and vertical labels on graphs
because these arguments to rrdtool are passed via escapeshellarg(),
which strips out all non-ascii characters.
Setting unicode locale in include/global.php solves the problem:
setlocale (LC_CTYPE, "en_US.UTF-8");
It would be nice to set locale via web interface "settings" tab.
Global locale
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Global locale
This is targeted for 088 along with i18n.
R.
R.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Global locale
Discussing this today with our i18n specialist, browniebraun. We will NOT use setlocale but provide a different way of implementing
R.
R.
Re: Global locale
Then unicode labels will probably not work in 0.8.8, but we still hope for surprise.
Who is online
Users browsing this forum: No registered users and 3 guests