I have Vester Somarken (with the danish character) in the header when I 
view your site.







On Friday, 13 March 2020 16:04:31 UTC+2, Gert Andersen wrote:
>
> Hi
>
> The utf8 is for the NOAA reports with strict_ascii i have Smarken instead 
> instead of Sømarken in the heading.
>
> Gert
>
> On Friday, March 13, 2020 at 3:02:19 PM UTC+1, Pat wrote:
>>
>> Well, I've put danish characters into my location name as a test, and 
>> they are showing in the report fine (see my screenshot from a few emails 
>> ago in the red box). 
>>
>> Looking at the site you say is broken, it doesn't look broken, so I'm 
>> trying to understand what breaks when you use utf8 instead of strict_ascii?
>>
>> On Friday, March 13, 2020 at 10:00:33 AM UTC-4, Gert Andersen wrote:
>>>
>>> Hi Pat
>>>
>>> You did some changes to the beta version in order to use 
>>> danishcharacters  and I don't know if this error has something to do with 
>>> this. Maybe you can't reproduce the error because your not running danish 
>>> characters?
>>>
>>> Gert
>>>
>>> On Friday, March 13, 2020 at 2:46:30 PM UTC+1, Pat wrote:
>>>>
>>>> I'm unable to reproduce this. Can you provide a clear example that 
>>>> would allow me to reproduce this?
>>>>
>>>> Also, weewx version 4?
>>>>
>>>>
>>>>
>>>> On Friday, March 13, 2020 at 9:41:04 AM UTC-4, Pat wrote:
>>>>>
>>>>> Let me run some tests
>>>>>
>>>>> On Friday, March 13, 2020 at 9:39:16 AM UTC-4, Gert Andersen wrote:
>>>>>>
>>>>>> Hi
>>>>>>
>>>>>> Version 2.7.16
>>>>>>
>>>>>> Gert
>>>>>>
>>>>>> On Friday, March 13, 2020 at 1:59:51 PM UTC+1, Pat wrote:
>>>>>>>
>>>>>>> Which version of python?
>>>>>>>
>>>>>>> On Thursday, March 12, 2020 at 6:52:38 PM UTC-4, Gert Andersen wrote:
>>>>>>>>
>>>>>>>> Hi
>>>>>>>>
>>>>>>>> Thanks for looking.
>>>>>>>>
>>>>>>>> No, I did not edit the index file.
>>>>>>>>
>>>>>>>> The only thing I changed was the skin.conf and changed the encoding 
>>>>>>>> to utf8 instead of strictly_ascii. This will display danish characters.
>>>>>>>>
>>>>>>>>
>>>>>>>> [[SummaryByMonth]]
>>>>>>>>         # Reports that summarize "by month"
>>>>>>>>         [[[NOAA_month]]]
>>>>>>>>             encoding = utf8
>>>>>>>>             template = NOAA/NOAA-YYYY-MM.txt.tmpl
>>>>>>>>
>>>>>>>>     [[SummaryByYear]]
>>>>>>>>         # Reports that summarize "by year"
>>>>>>>>         [[[NOAA_year]]]
>>>>>>>>             encoding = utf8
>>>>>>>>             template = NOAA/NOAA-YYYY.txt.tmpl
>>>>>>>>
>>>>>>>> Gert
>>>>>>>>
>>>>>>>> On Thursday, March 12, 2020 at 11:42:09 PM UTC+1, vince wrote:
>>>>>>>>>
>>>>>>>>> On Thursday, March 12, 2020 at 2:23:45 PM UTC-7, Gert Andersen 
>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>> Mar 12 22:11:24 InterceptorTest wee_reports[6182]: Belchertown 
>>>>>>>>>> Extension: version 1.1b9
>>>>>>>>>> Mar 12 22:11:27 InterceptorTest wee_reports[6182]: 
>>>>>>>>>> cheetahgenerator: Generate failed with exception '<type 
>>>>>>>>>> 'exceptions.UnicodeDecodeError'>'
>>>>>>>>>> Mar 12 22:11:27 InterceptorTest wee_reports[6182]: 
>>>>>>>>>> cheetahgenerator: **** Ignoring template 
>>>>>>>>>> /etc/weewx/skins/Belchertown/about/index.html.tmpl
>>>>>>>>>> Mar 12 22:11:27 InterceptorTest wee_reports[6182]: 
>>>>>>>>>> cheetahgenerator: **** Reason: 'ascii' codec can't decode byte 0xc3 
>>>>>>>>>> in 
>>>>>>>>>> position 500: ordinal not in range(128)
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> For starters, did you edit the index.html.tmpl file mentioned 
>>>>>>>>> above ?
>>>>>>>>>
>>>>>>>>>

-- 
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/56aaffdb-b5e4-4aa9-bf2e-ff5f649a2bf1%40googlegroups.com.

Reply via email to