[smokeping-users] Thai characters page title display issue

STR . strykar at hotmail.com
Fri Oct 23 14:58:02 CEST 2015

I should’ve looked at the smokeping config again, need to define “charset = utf-8” to resolve the issue.
By default, SmokePing assumes the 'iso-8859-15' character set.

-          S
From: smokeping-users [mailto:smokeping-users-bounces+strykar=hotmail.com at lists.oetiker.ch] On Behalf Of STR .
Sent: Friday, October 23, 2015 9:08 AM
To: smokeping-users at lists.oetiker.ch
Subject: [smokeping-users] Thai characters page title display issue


In my config, I have a target named:
+++ myhost2
title = ä·Â ä·Â | zombieTH ʧ¤ÃÒÁ Engineer I

This displays correctly in the rrd graph itself, but the same title is garbled in the HTML page title output of http:///smokeping/?target=network.TF2.myhost2<http://smokeping/?target=network.TF2.myhost2>
Seems like an encoding issue, as changing encoding="iso-8859-15" to encoding="utf-8" in basepage.html doesn’t fix it.
The actual target status page seems to be generated by code elsewhere.

# file -i basepage.html
basepage.html: application/xml; charset=us-ascii

And since
# file -i config
config: text/x-c++; charset=utf-8

Is it being re-encoded incorrectly when that page is generated?
How do I fix this?

-          S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20151023/d5975f05/attachment.html>

More information about the smokeping-users mailing list