Skip to content

Fix #2264 (Re-revised)#2288

Merged
WyattBlue merged 1 commit into
PyAV-Org:mainfrom
kazuki:fix-2264-v2
Jun 7, 2026
Merged

Fix #2264 (Re-revised)#2288
WyattBlue merged 1 commit into
PyAV-Org:mainfrom
kazuki:fix-2264-v2

Conversation

@kazuki
Copy link
Copy Markdown
Contributor

@kazuki kazuki commented Jun 7, 2026

device_name/device_description may contains UTF-8.
In commit 2474f35, directly cast to str but this assumes ASCII,
so it will raises exception if UTF-8 is included.

In this commit, casts to bytes and then decodes UTF8.

device_name/device_description may contains UTF-8.
In commit 2474f35, directly cast to `str` but this assumes ASCII,
so it will raises exception if UTF-8 is included.

In this commit, casts to `bytes` and then decodes UTF8.
@WyattBlue WyattBlue merged commit 1940fd4 into PyAV-Org:main Jun 7, 2026
7 checks passed
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.

2 participants