[GH-ISSUE #132] 用换行有问题,请教 #122

Closed
opened 2026-03-03 11:37:17 +03:00 by kerem · 6 comments
Owner

Originally created by @eryuehua-jian on GitHub (Jan 7, 2022).
Original GitHub issue: https://github.com/Finb/Bark/issues/132

https://api.day.app/key/今日新闻/国家安全'\n'教育课时

上面是链接,下面是通知结果

国家安全'
n'教育课时

换行符用起来感觉有问题啊
正常来说只是用了换行符 为什么标题不显示了,而且换行符号也有问题。。。

Originally created by @eryuehua-jian on GitHub (Jan 7, 2022). Original GitHub issue: https://github.com/Finb/Bark/issues/132 https://api.day.app/key/今日新闻/国家安全'\n'教育课时 上面是链接,下面是通知结果 **国家安全'** n'教育课时 换行符用起来感觉有问题啊 正常来说只是用了换行符 为什么标题不显示了,而且换行符号也有问题。。。
kerem closed this issue 2026-03-03 11:37:17 +03:00
Author
Owner

@xilou31 commented on GitHub (Jan 8, 2022):

需要对换行这种特殊字符进行编码再发送

<!-- gh-comment-id:1007868120 --> @xilou31 commented on GitHub (Jan 8, 2022): 需要对换行这种特殊字符进行编码再发送
Author
Owner

@eryuehua-jian commented on GitHub (Jan 8, 2022):

对整个body一起编码行不行> 需要对换行这种特殊字符进行编码再发送

<!-- gh-comment-id:1007889383 --> @eryuehua-jian commented on GitHub (Jan 8, 2022): 对整个body一起编码行不行> 需要对换行这种特殊字符进行编码再发送
Author
Owner

@xilou31 commented on GitHub (Jan 8, 2022):

也可以呀,但是你要自己手动解码不也挺麻烦的

<!-- gh-comment-id:1007890160 --> @xilou31 commented on GitHub (Jan 8, 2022): 也可以呀,但是你要自己手动解码不也挺麻烦的
Author
Owner

@stilleshan commented on GitHub (Jan 8, 2022):

https://api.day.app/key/今日新闻/国家安全%0a教育课时

<!-- gh-comment-id:1007996688 --> @stilleshan commented on GitHub (Jan 8, 2022): https://api.day.app/key/今日新闻/国家安全%0a教育课时
Author
Owner

@eryuehua-jian commented on GitHub (Jan 8, 2022):

https://api.day.app/key/今日新闻/国家安全%0a教育课时

你这个用起来方便

<!-- gh-comment-id:1008004371 --> @eryuehua-jian commented on GitHub (Jan 8, 2022): > https://api.day.app/key/今日新闻/国家安全%0a教育课时 你这个用起来方便
Author
Owner

@stilleshan commented on GitHub (Jan 8, 2022):

https://api.day.app/key/今日新闻/国家安全%0a教育课时

你这个用起来方便

可以就 close issue

<!-- gh-comment-id:1008041925 --> @stilleshan commented on GitHub (Jan 8, 2022): > > [https://api.day.app/key/今日新闻/国家安全%0a教育课时](https://api.day.app/key/%E4%BB%8A%E6%97%A5%E6%96%B0%E9%97%BB/%E5%9B%BD%E5%AE%B6%E5%AE%89%E5%85%A8%0a%E6%95%99%E8%82%B2%E8%AF%BE%E6%97%B6) > > 你这个用起来方便 可以就 close issue
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Bark#122
No description provided.