mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #3] UTF8 #1
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @manson on GitHub (Nov 10, 2021).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/3
Is it possible to process utf-8 encoding? Say, I've sent russian strings and gets bad symbols. Take a look at ntfy.sh/manson_alerts channeln you'll see it.
@binwiederhier commented on GitHub (Nov 10, 2021):
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?
@manson commented on GitHub (Nov 10, 2021):
You're right. Under linux it works fine but failed as said above under windows 10 terminal
@binwiederhier commented on GitHub (Nov 10, 2021):
@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.
@manson commented on GitHub (Nov 10, 2021):
@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"}
@binwiederhier commented on GitHub (Nov 10, 2021):
@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:
curl -d, e.g.curl -d "⚠️ Warning" ntfy.sh/mytopicdoes not work, butecho -en "⚠️ Warning" | curl -T- ntfy.sh/mytopicdoes. So it could be a "curl issue"@manson commented on GitHub (Nov 10, 2021):
@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
@binwiederhier commented on GitHub (Nov 10, 2021):
I'll keep the ticket open then for now. I may get to it.
@binwiederhier commented on GitHub (Nov 18, 2021):
Please reopen if there are more Windows UTF-8 issues