This was an interesting one because of Python 2 and Python 3 unicode slight differences and accommodating both. I think I've solved it based on your directions example. Re-download the development branch again <https://github.com/poblabs/weewx-belchertown/archive/development.zip>, re-install it, and restart weewx. See if that helps.
On Saturday, March 7, 2020 at 5:58:02 PM UTC-5, Gert Andersen wrote: > > Hi Pat > > This is my ordinates from weewx.conf: > > [[[[Ordinates]]]] > > # Ordinal directions. The last one is for no wind direction > directions = N, NNØ, NØ, ØNØ, Ø, ØSØ, SØ, SSØ, S, SSV, SV, > VSV, V, VNV, NV, NNV, N/A > > Gert > > On Saturday, March 7, 2020 at 10:35:03 PM UTC+1, Pat wrote: >> >> I don't know what's causing that one. Those labels come from weewx.conf >> under StdReport -> Defaults -> Units -> Ordinates -> directions or under >> skin.conf Units -> Ordinates -> directions. >> >> Do you have special characters in this variable in either of these files? >> >> On Saturday, March 7, 2020 at 3:54:28 PM UTC-5, Gert Andersen wrote: >>> >>> Hi Pat >>> >>> Thanks for your answer. >>> >>> Upgrading to version 1.1b9 seems to have solved the problem with the >>> funny characters and the wind directions. I still have an issue with the >>> Windrose. as you can see here: >>> http://vejret.lynghuzed.dk >>> >>> Thanks for your support and for this skin. >>> >>> Rgds >>> Gert >>> >>> On Saturday, March 7, 2020 at 1:43:36 AM UTC+1, Pat wrote: >>>> >>>> HI Gert, I think this is resolved in the development version. You can >>>> install the development version just like you did 1.0.1 by downloading >>>> the current development zip file >>>> <https://github.com/poblabs/weewx-belchertown/archive/development.zip> >>>> and following the install instructions. >>>> >>>> After, restart weewx and see if it helps after a couple of archive >>>> intervals. >>>> >>>> On Thursday, March 5, 2020 at 9:35:48 PM UTC-5, Gert Andersen wrote: >>>>> >>>>> Hi >>>>> I have a weird issue. >>>>> System: ubuntu 18.04, da-dk utf8 locale, Mosquitto, weewx 3.9.2 and >>>>> Belchertown 1.0.1 >>>>> >>>>> For wind directions, I'm using danish characters and have them >>>>> inserted in weewx.conf. The first time I'm bringing up the webpage, >>>>> everything is fine (screenshot Before Update). When the page is updated >>>>> by >>>>> MQTT, I have funny characters in the wind direction field (screenshot >>>>> After >>>>> Update). >>>>> >>>>> Furthermore the Wind Rose has funny characters for the wind directions >>>>> with the danish characters.(screenshot Wind Rose) >>>>> >>>>> Any ideas? >>>>> >>>>> Thanks >>>>> Gert >>>>> >>>> -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/d1510b73-e0dc-47fc-900a-928abde22e4c%40googlegroups.com.
