-
-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weather on windows #15
Comments
Hello @yeders, sorry for the last answer. |
@SilentVoid13 I can confirm it doesn't work on windows 10. This isn't just in Obsidian either, it's within PowerShell. However, copying the broken text from PowerShell into Obsidian will make it display correctly. Perhaps this has something to do with how the website is encoding the text? |
Using windows newer terminal supports the emoji's and other features I do find it odd that Templater when copying the output and once inside of Obsidian it doesn't display correctly but doing it manually does. |
Got a solution for this: Follow these steps:Make UTF8 the global defaultTemplater Template
|
As @luckman212 said, unicode chars problems are not coming from Templater, but from cmd.exe and powershell. |
Under windows 10, using 0.9.15 of obsidian and vr 0.4.2 of templater.
The new suggested powershell command to obtain weather does not work.
But the other powershell commands do work.
As a work around, the Linux curl command works anyway ;)
works == curl "wttr.in/Sydney?format=%l:+%C+%t+%p+%w+%h"
doesn't work == powershell ((Invoke-WebRequest -Uri wttr.in/Campsie?format=3).Content)
NB: the format setting doesn't seem to impact the outcome.
The text was updated successfully, but these errors were encountered: