|Cheshire Cat Computing
|help with charset directive
|Page 1 of 1|
|Author:||dez [ Wed May 12, 2004 3:05 am ]|
|Post subject:||help with charset directive|
|Author:||stevesh [ Wed May 12, 2004 11:25 am ]|
|Author:||dez [ Wed May 12, 2004 9:11 pm ]|
I have set charset = ISO-8859-7 in the [web] section of routers2.cgi .
My web server (Apache) supports ISO-8859-7 and even has it as a default charset (although not really needed. My browser (Mozilla) supports ISO-8859-7 also.
The MRTG Title directive gets embedded in the .png graph, right? Thats where the problem is. The MRTG Title is in Greek (ISO-8859-7) and its not displayed correctly.
Below you can find the relevant section from the source in question (the frame source)
<?xml version="1.0" encoding="iso-8859-1"?>
|Author:||stevesh [ Thu May 13, 2004 11:13 am ]|
Ah -- this is a separate issue.
The charset definition is used by the web page, but unfortunately the text embedded in the graph is not covered by this. The graph text is produced by the RRDTool libraries which use their own method -- I have no way to pass a different character set requirement to them.
I think this is dependent on how the RRDTool binaries were compiled -- so, if you are using UNIX you are (probably) OK since you will compile them on your system under the appropriate character set? Windows users may be stuck with the ActivePerl ppd files which were compiled under USA character sets.
|Author:||dez [ Thu May 20, 2004 6:49 am ]|
|Page 1 of 1||All times are UTC + 12 hours [ DST ]|
|Powered by phpBB® Forum Software © phpBB Group