mirror of
https://github.com/casualsnek/onthespot.git
synced 2026-04-26 20:45:56 +03:00
[GH-ISSUE #59] "'Cp932' codec can't decode" occurs on Japanese OS #42
Labels
No labels
Feedback requested
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/onthespot#42
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 @ghost on GitHub (May 17, 2023).
Original GitHub issue: https://github.com/casualsnek/onthespot/issues/59
Add encoding='UTF-8' utility.py to resolve'cp932' codec can't decode
with open(playlist_m3u_queue[play_id]['filename'], 'w')
to
with open(playlist_m3u_queue[play_id]['filename'], 'w', encoding='UTF-8')
and
with open(playlist_m3u_queue[play_id]['filename'], 'a')
to
with open(playlist_m3u_queue[play_id]['filename'], 'a', encoding='UTF-8')
I'm not sure how to do pull requests, so I'm going to write to ISSUES
Sorry.
@casualsnek commented on GitHub (May 18, 2023):
Thanks for reporting the issue ! It should fixed now after this
github.com/casualsnek/onthespot@77632bb5fd@ghost commented on GitHub (May 19, 2023):
i forgot to reply
It was fixed too.
thank you