[rrd-developers] UTF-8 and pango ... again

Sebastian Harl sh at tokkee.org
Sat Aug 8 13:51:24 CEST 2009


Hi Tobi,

On Sat, Aug 08, 2009 at 11:33:56AM +0200, Tobias Oetiker wrote:
> Jul 21 Sebastian Harl wrote:
> > The following problem has been reported to me:
> >
> > When creating graphs covering one year and using something like
> > LANG=en_US.UTF-8 and LC_TIME="de_DE" in the environment, pango reports
> > the following warning:
> >
> > Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
> 
> what happens when you set
> 
> LC_TIME=de_DE.UTF-8

Well, then it works fine - strftime() then generates an UTF-8 encoded
string which will work no matter which locale has been set.

Cheers,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20090808/290aa216/attachment.bin 


More information about the rrd-developers mailing list