[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing :: View topic - Problems with degree (°) symbol (rrdtool>=1.3.0)
Cheshire Cat Computing
http://www.steveshipway.org/forum/

Problems with degree (°) symbol (rrdtool>=1.3.0)
http://www.steveshipway.org/forum/viewtopic.php?f=2&t=8056
Page 1 of 1

Author:  lexus1977 [ Fri Sep 21, 2012 2:05 am ]
Post subject:  Problems with degree (°) symbol (rrdtool>=1.3.0)


Author:  stevesh [ Sun Sep 30, 2012 9:58 pm ]
Post subject:  Re: Problems with degree (°) symbol (rrdtool>=1.3.0)

This is a new one to me; I've not tried using degree symbols.

I'll have to look further into it; routers2 should simply pull the text as defined in the config files and push it out to rrdtool -- which then passes it on to pango.

When moving to rrdtool 1.3.x, Tobi greatly changed the rendering to use pango/cairio (I think previously it simply wrote the text in the grpah using GD or similar). It maybe that this sort of character needs to be handled differently... However, you can do it from the command line, which is surprising to me. routers2 simply calls the function as if it were on a command line.

Steve

Author:  gerch_winnheuer [ Tue Oct 02, 2012 10:33 pm ]
Post subject:  Re: Problems with degree (°) symbol (rrdtool>=1.3.0)

Hi,

I have a similar problem, but not with the graphs but with the text beside them. Before the ° symbol there is a À. I don't know why. I have a
ShortLegend[]:  °C
but normally this works fine. Any ideas?

hc_2012.10.02_11_03_24.jpg

Author:  stevesh [ Wed Oct 03, 2012 2:03 pm ]
Post subject:  Re: Problems with degree (°) symbol (rrdtool>=1.3.0)

This is the double-byte indicator character, and caused by mismatches in the wide character handling.

It might be possible to fix this by changing the character set used for content encoding that the browser is using for the page. This is done in the language files or in the routers2.conf... however I'm not sure what character set should be used, as there are so many possibilities. windows-1251 is a good one to try out -- look for the charset option in the routers2.conf.

Steve

Author:  gerch_winnheuer [ Wed Oct 10, 2012 6:45 am ]
Post subject:  Re: Problems with degree (°) symbol (rrdtool>=1.3.0)

Yeah, great! I set the "charset = utf-8" and now it works ;)
Thanks a lot!

hc_2012.10.09_19_44_00.jpg

Author:  stevesh [ Wed Oct 10, 2012 7:52 am ]
Post subject:  Re: Problems with degree (°) symbol (rrdtool>=1.3.0)

Thanks for letting me know it solved the issue.

Many of the language packs already do a character set change, so if using one of these it is likely things would work out anyway.

Page 1 of 1 All times are UTC + 12 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/