Web Weather > Weather Web Site Help
just trying to make a simple page. But am getting strange text with my updates
(1/1)
Fox_Of_The_Wind:
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.
saratogaWX:
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.
Fox_Of_The_Wind:
--- Quote from: saratogaWX on April 24, 2024, 02:22:40 PM ---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.
--- End quote ---
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!
Navigation
[0] Message Index
Go to full version