Closed JasonkayZK closed 10 months ago
Hi! This looks like an issue with the encoding snoretoast itself. Does it work if you use it directly manually through the command line?
It's weird! Somehow it works with pure snoretoast-cli!
Chinese displays fine on my computer. Maybe you can try saving the js source file in UTF-8 encoding?
It's weird, because the js file is already in UTF-8 encoding!
Does actions support Chinese? like this:
notifier.notify(
{
title: "任务结束",
message: "是否开始休息?",
sound: true,
actions: ["确认", "取消"],
},
(error, response, metadata) => {
console.log(response, metadata);
}
);
How to support chinese nitification? I found it wrong when i write someting like this:
And the result it pretty ugly like this:
So i was wondering how can i change the encoding when send notifications. Thanks!