I guess that there is an issue with the character set ISO8859-1 vs. UTF-8.

May be, #encoding is missing at the beginning of the Cheetah template file 
or does not match the real encoding of the file.

Or the template is saved in ISO8859 character set instead of UTF-8.

vince schrieb am Donnerstag, 24. August 2023 um 21:05:29 UTC+2:

> A couple cheetah questions...
>
> I'm displaying AQI data which uses group_concentration and it displays 
> oddly for me.  Is there a simple fix to remove the funky 'A' characters 
> before/after the value ? 
>
> (see attached screenshot)
>
> Second question - the values are coming from the following:
>
> AQI: $latest('purpleair_binding').aqi2_5.format(format_string="%.0f")   
>  ($latest('purpleair_binding').pm2_5_cf_1.format(format_string="%.1f"))
>
> I have not found a combination of formatting directives to show the second 
> value without the units being displayed 'and' with it formatted down to one 
> decimal place. 
>
> If I have a value of 15.6123 micrograms/cubic-meter how would I display 
> just 15.6 ?
>
>
>

-- 
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/c28c9c71-eead-49b9-a1b7-c82508799d2dn%40googlegroups.com.

Reply via email to