I tried your test template (on my Mac) and it worked perfectly using both
HTML entities and UTF-8 encodings. The results are attached.
I'm grasping here, but it must have something to do with your environment.
What do you get for
*echo $LANG*
*python3 -c "import locale;print(locale.setlocale(locale.LC_ALL))"*
*python3 -c "import
locale;locale.setlocale(locale.LC_ALL,'');print(locale.setlocale(locale.LC_ALL))"*
-tk
On Sun, Aug 27, 2023 at 9:48 AM vince <[email protected]> wrote:
> Fascinating. I came up with a modified test template that prints out the
> units for everything in the extended schema, but my little one is
> sufficient to show the issue.
>
> For me if encoding=html_entities then labels using group_concentration are
> garbled, but temperatures and radiation units and wind direction are ok.
> If I switch the skin to encoding=utf-8 then concentration, radiation, and
> anything with a degree symbol in it is garbled.
>
> I've attached a modified .tmpl that displays the labels for all elements
> in the extended schema. Maybe this helps.
>
>
>
> On Sunday, August 27, 2023 at 8:43:33 AM UTC-7 [email protected] wrote:
>
> here is the result of your test.index.html in my system :
> http://meteo-sciez.fr/weewx/tagssciez/test.html
>
> the pmxxx units are correctly shown, but not the outTemp and radiation
> units !
>
>
>
> --
> 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/5de3914e-24e4-4592-adf8-6bcbf9625400n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/5de3914e-24e4-4592-adf8-6bcbf9625400n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
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/CAPq0zECeEPkcBP7ChEV77OXaTxVkG6NuquCk%3Dg3o_4OAjCNRzw%40mail.gmail.com.
07/31/2022 11:25:00
This checks the units for all schema variables display correctly
| altimeter | inHg |
| appTemp | °F |
| appTemp1 | °F |
| barometer | inHg |
| batteryStatus1 | |
| batteryStatus2 | |
| batteryStatus3 | |
| batteryStatus4 | |
| batteryStatus5 | |
| batteryStatus6 | |
| batteryStatus7 | |
| batteryStatus8 | |
| cloudbase | feet |
| co | ppm |
| co2 | ppm |
| consBatteryVoltage | V |
| dewpoint | °F |
| dewpoint1 | °F |
| ET | in |
| extraHumid1 | % |
| extraHumid2 | % |
| extraHumid3 | % |
| extraHumid4 | % |
| extraHumid5 | % |
| extraHumid6 | % |
| extraHumid7 | % |
| extraHumid8 | % |
| extraTemp1 | °F |
| extraTemp2 | °F |
| extraTemp3 | °F |
| extraTemp4 | °F |
| extraTemp5 | °F |
| extraTemp6 | °F |
| extraTemp7 | °F |
| extraTemp8 | °F |
| forecast | |
| hail | in |
| hailBatteryStatus | |
| hailRate | in/h |
| heatindex | °F |
| heatindex1 | °F |
| heatingTemp | °F |
| heatingVoltage | V |
| humidex | °F |
| humidex1 | °F |
| inDewpoint | °F |
| inHumidity | % |
| inTemp | °F |
| inTempBatteryStatus | |
| leafTemp1 | °F |
| leafTemp2 | °F |
| leafWet1 | |
| leafWet2 | |
| lightning_distance | miles |
| lightning_disturber_count | |
| lightning_energy | |
| lightning_noise_count | |
| lightning_strike_count | |
| luminosity | |
| maxSolarRad | W/m² |
| nh3 | ppm |
| no2 | µg/m³ |
| noise | dB |
| o3 | ppm |
| outHumidity | % |
| outTemp | °F |
| outTempBatteryStatus | |
| pb | ppm |
| pm10_0 | µg/m³ |
| pm1_0 | µg/m³ |
| pm2_5 | µg/m³ |
| pressure | inHg |
| radiation | W/m² |
| rain | in |
| rainBatteryStatus | |
| rainRate | in/h |
| referenceVoltage | V |
| rxCheckPercent | % |
| signal1 | |
| signal2 | |
| signal3 | |
| signal4 | |
| signal5 | |
| signal6 | |
| signal7 | |
| signal8 | |
| snow | in |
| snowBatteryStatus | |
| snowDepth | in |
| snowMoisture | % |
| snowRate | in/h |
| so2 | ppm |
| soilMoist1 | cb |
| soilMoist2 | cb |
| soilMoist3 | cb |
| soilMoist4 | cb |
| soilTemp1 | °F |
| soilTemp2 | °F |
| soilTemp3 | °F |
| soilTemp4 | °F |
| supplyVoltage | V |
| txBatteryStatus | |
| UV | |
| uvBatteryStatus | |
| windBatteryStatus | |
| windchill | °F |
| windDir | ° |
| windGust | mph |
| windGustDir | ° |
| windrun | miles |
| windSpeed | mph |
07/31/2022 11:25:00
This checks the units for all schema variables display correctly
| altimeter | inHg |
| appTemp | °F |
| appTemp1 | °F |
| barometer | inHg |
| batteryStatus1 | |
| batteryStatus2 | |
| batteryStatus3 | |
| batteryStatus4 | |
| batteryStatus5 | |
| batteryStatus6 | |
| batteryStatus7 | |
| batteryStatus8 | |
| cloudbase | feet |
| co | ppm |
| co2 | ppm |
| consBatteryVoltage | V |
| dewpoint | °F |
| dewpoint1 | °F |
| ET | in |
| extraHumid1 | % |
| extraHumid2 | % |
| extraHumid3 | % |
| extraHumid4 | % |
| extraHumid5 | % |
| extraHumid6 | % |
| extraHumid7 | % |
| extraHumid8 | % |
| extraTemp1 | °F |
| extraTemp2 | °F |
| extraTemp3 | °F |
| extraTemp4 | °F |
| extraTemp5 | °F |
| extraTemp6 | °F |
| extraTemp7 | °F |
| extraTemp8 | °F |
| forecast | |
| hail | in |
| hailBatteryStatus | |
| hailRate | in/h |
| heatindex | °F |
| heatindex1 | °F |
| heatingTemp | °F |
| heatingVoltage | V |
| humidex | °F |
| humidex1 | °F |
| inDewpoint | °F |
| inHumidity | % |
| inTemp | °F |
| inTempBatteryStatus | |
| leafTemp1 | °F |
| leafTemp2 | °F |
| leafWet1 | |
| leafWet2 | |
| lightning_distance | miles |
| lightning_disturber_count | |
| lightning_energy | |
| lightning_noise_count | |
| lightning_strike_count | |
| luminosity | |
| maxSolarRad | W/m² |
| nh3 | ppm |
| no2 | µg/m³ |
| noise | dB |
| o3 | ppm |
| outHumidity | % |
| outTemp | °F |
| outTempBatteryStatus | |
| pb | ppm |
| pm10_0 | µg/m³ |
| pm1_0 | µg/m³ |
| pm2_5 | µg/m³ |
| pressure | inHg |
| radiation | W/m² |
| rain | in |
| rainBatteryStatus | |
| rainRate | in/h |
| referenceVoltage | V |
| rxCheckPercent | % |
| signal1 | |
| signal2 | |
| signal3 | |
| signal4 | |
| signal5 | |
| signal6 | |
| signal7 | |
| signal8 | |
| snow | in |
| snowBatteryStatus | |
| snowDepth | in |
| snowMoisture | % |
| snowRate | in/h |
| so2 | ppm |
| soilMoist1 | cb |
| soilMoist2 | cb |
| soilMoist3 | cb |
| soilMoist4 | cb |
| soilTemp1 | °F |
| soilTemp2 | °F |
| soilTemp3 | °F |
| soilTemp4 | °F |
| supplyVoltage | V |
| txBatteryStatus | |
| UV | |
| uvBatteryStatus | |
| windBatteryStatus | |
| windchill | °F |
| windDir | ° |
| windGust | mph |
| windGustDir | ° |
| windrun | miles |
| windSpeed | mph |