[rrd-users] Invalid UTF-8 string

Tobias Oetiker tobi at oetiker.ch
Wed Nov 4 05:21:08 CET 2009

Hi Stefan,

Yesterday Stefan M. Brandl wrote:

> Hello,
> just upgrade from rrdtool 1.3.8 to 1.3.9
> and I get
> (process:30282): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
> when I do a rrdtool graph ...
> And have a ° (degree) sign in the GPRINT line.

this is the kind of error you would get if you were running wit a
locale setting suggesting utf8 encoding and then inputing data
encoded with latin1 for example.

if you are using rrdtool from language bindings, make sure you call
setlocale and are not just setting the environment variable inside
you code.


> Stefan
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900

More information about the rrd-users mailing list