It seems like UTF-8 characters are appearing in your NOAA reports. It
should be pure ASCII (it's just a text file --- there's no way of
specifying an encoding).

Take a look in your skin configuration file, skin.conf. The NOAA reports
should specify an encoding of "strict_ascii":

[CheetahGenerator]

    # Possible encodings are 'html_entities', 'utf8', or 'strict_ascii'
    encoding = html_entities

    [[SummaryByMonth]]
        # Reports that summarize "by month"
        [[[NOAA_month]]]
            encoding = strict_ascii
            template = NOAA/NOAA-YYYY-MM.txt.tmpl

    [[SummaryByYear]]
        # Reports that summarize "by year"
        [[[NOAA_year]]]
            encoding = strict_ascii
            template = NOAA/NOAA-YYYY.txt.tmpl


If that's not the problem, then

   - please tell us what version of WeeWX you are using;
   - what skin you are trying to use; and
   - include your skin.conf file

-tk



On Mon, Mar 11, 2019 at 9:15 AM Copain <[email protected]> wrote:

> I am running weewx on RPi 3B with dietpi and German locale.
>
> In NOAA reports I noticed some strange formats for
> - temperature (°C) and
> - months ('Mär' for 'Mar')
>
> Some variables affected are '$unit.label.outTemp.strip()',
> '$year.outTemp.maxtime.format($M,$NODAY)',
> '$year.outTemp.mintime.format($M,$NODAY)',
> '$year.rain.maxsumtime.format($M,$NODAY)' and
> '$year.wind.maxtime.format($M,$NODAY)'.
>
> Where / how could those be changed in oder to show propper formatting?
>
> Thanks.
>
> --
> 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].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to