[rrd-users] Re: RRDtool UTF-8
Jeevanandam, Kathirvel (IE10)
Jeevanandam.Kathirvel at honeywell.com
Wed Aug 9 12:15:50 MEST 2006
Hi tobi,
Thanks tobi, I need some more information.
I am using char buffer to form the command string, and then execute
using popen.
sprintf(szCommand,"%s/bin/rrdtool graph - --start %ld --end %ld -u %d -l
%d --imgformat PNG -w 600 -h 175 ",
RRD_CMD_PATH_DIR,lStartTime,lEndTime,lUpperLimit,lLowerLimit);
sprintf(szArgTemp," LINE2:l%d#%06x:\"%ls\"
",i,GetColor(i),szTempPointName);
If I convert szTempPointName alone for wide char type using mbtowc, it
won't work.
If I convert whole command string as wide char type, popen is failing.
How to resolve this..
Regards,
Jeeva.K
-----Original Message-----
From: Tobias Oetiker [mailto:tobi at oetiker.ch]
Sent: Wednesday, August 09, 2006 2:25 PM
To: Jeevanandam, Kathirvel (IE10)
Cc: rrd-users at list.ee.ethz.ch
Subject: Re: [rrd-users] RRDtool UTF-8
Hi Jeeva,
current rrdtools supports UTF-8 using mbtowc
cheers
tobi
Today Jeevanandam, Kathirvel (IE10) wrote:
> Hi .
> Whether RRDtool supports utf-8 encoding or not?
>
>
>
>
>
> Regards,
>
> Jeeva.K
>
>
> --
> Unsubscribe
mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
> Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
> Archive http://lists.ee.ethz.ch/rrd-users
> WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
>
>
--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://tobi.oetiker.ch tobi at oetiker.ch ++41 62 213 9907
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-users
mailing list