Notifications
Clear all
Topic starter
06/11/2024 4:28 am
I am using the following statement to get weather information, but I cannot figure out how to set the text encoding to remove the extra characters. It shows fine in browsers, but not in desktopinfo.
HTTPGET=interval:600,source: http://wttr.in/chicago?u&format=Cond:+%C|Temp:+%t|Wind:+%w,display:%1,Wide:1
06/11/2024 8:17 am
try adding a regex to filter out non ascii characters:
regex:[^\x00-\x7F]+
06/11/2024 8:18 am
btw the next release will have a little code to deal with json response in HTTPGET
RatboyJim reacted