Author Topic: just trying to make a simple page. But am getting strange text with my updates  (Read 411 times)

0 Members and 1 Guest are viewing this topic.

Offline Fox_Of_The_Wind

  • Forecaster
  • *****
  • Posts: 492
  • Hi there!
    • http://www.desotowiwx.com
I am trying to make a page at https://desotowiwx.com/dashboard.txt for a simple page. Because I am going to make it a widget for my phone. But I keep getting strange text mixed in with my info. What am I doing wrong?

I am using meteobridge for updates.

thank you for anyone that can lead the way for me.
« Last Edit: April 24, 2024, 02:39:29 PM by Fox_Of_The_Wind »

Anthony

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9403
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
The issue where you see "°F" in the result is due to the degree sign being in UTF-8 while the browser is defaulting to ISO-8859-1.

In your meteobridge template, use ° instead of a literal degree sign, then it should appear correctly irrespective of what the browser's default character set is.

Also, you might try additionally in using dashboard.txt as the result name since it is really just text w/o any HTML markup.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline Fox_Of_The_Wind

  • Forecaster
  • *****
  • Posts: 492
  • Hi there!
    • http://www.desotowiwx.com
The issue where you see "°F" in the result is due to the degree sign being in UTF-8 while the browser is defaulting to ISO-8859-1.

In your meteobridge template, use ° instead of a literal degree sign, then it should appear correctly irrespective of what the browser's default character set is.

Also, you might try additionally in using dashboard.txt as the result name since it is really just text w/o any HTML markup.

Thank you for the help. For now I just deleted the degree marks....trying to fig out what areas I need to add the code you said.

Thanks again for the help!

Anthony

 

anything