Skip to content

Update go-toast for UTF-8 script support - #13

Open
danarnold wants to merge 1 commit into
stuartleeks:mainfrom
danarnold:utf8-notification-support
Open

Update go-toast for UTF-8 script support#13
danarnold wants to merge 1 commit into
stuartleeks:mainfrom
danarnold:utf8-notification-support

Conversation

@danarnold

Copy link
Copy Markdown

Fixes #6.

This updates go-toast from the old gopkg.in/toast.v1 import path to the go-toast/toast module. The newer upstream code writes the temporary PowerShell script with a UTF-8 BOM, which lets PowerShell read notification text containing non-ASCII characters correctly.

I verified this locally with messages containing accented characters and other UTF-8 text, including the original caído example from #6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UTF-8 support

1 participant