Comments (8)
@binwiederhier thank you. Actually I dont care about windows - I just have temporary work here, but mostly work under linux so its ok for me
from ntfy.
UTF-8 and even emojis are supported so I'm a little confused how that happened. Can you tell me what command you ran exactly, and what terminal and OS?
from ntfy.
You're right. Under linux it works fine but failed as said above under windows 10 terminal
from ntfy.
@manson Can you tell me the exact command you ran under the Windows 10 terminal? If I can reproduce I'm sure I'll be able to help you out or fix it.
from ntfy.
@binwiederhier This is command from example, I've just changed the message.
curl -d "проверка" ntfy.sh/manson_alerts
Exactly this command later I've copied into the my remote linux box bash terminal and it sent message as it should.
BTW, under windows it results in terminal with:
{"id":"vEWbgB6vQv","time":1636552487,"event":"message","topic":"manson_alerts","message":"\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd"}
from ntfy.
@manson So I will eventually try to replicate this on Windows, but I can only do that after work likely.
In the meantime, here are my initial thoughts:
- I have had trouble with certain emojis when combining them with
curl -d
, e.g.curl -d "⚠️ Warning" ntfy.sh/mytopic
does not work, butecho -en "⚠️ Warning" | curl -T- ntfy.sh/mytopic
does. So it could be a "curl issue" - I am also wondering if it could be the Terminal encoding in Windows. If that's not UTF-8 then you may get garbled text like that. I don't know how to check that on Windows, but that could be a good starting point for you.
from ntfy.
I'll keep the ticket open then for now. I may get to it.
from ntfy.
Please reopen if there are more Windows UTF-8 issues
from ntfy.
Related Issues (20)
- systemctl script won't start server HOT 2
- iOS notifications not working from the public/official ntfy.sh platform HOT 9
- Message length limitation
- Lemmy link is broken?
- Minimal server footprint
- Matrix push gateway doesn't send/receive notification from the clients in SchildiChat: Self-hosting, reverse proxy, unix-socket
- Zombie process created every minute HOT 2
- Per-Topic Notfiication Sounds in the Web App
- iOS Label for Subscribed Topics
- Feature request: Add "click" as intent extra
- Expose TLS config options
- Authentication issue - 40301 "Error publishing notification" HOT 2
- Is another webserve needed for pushing attachments outside ntfy UI? HOT 3
- horizontal rule incorrectly parsed in web ui
- Rationale for current topic name's allowed characters and size ?
- The low priority message shoud not have a sound HOT 1
- Attached file for automation in Android gui client
- Android app: Irrelevant or unknown message. Discarding.
- No Notification in iOS 17.2.1 HOT 1
- Can’t add user on iPhone 14. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ntfy.