Skip to content

Use utf8 c_string_encoding#2310

Merged
WyattBlue merged 2 commits into
mainfrom
patch
Jun 15, 2026
Merged

Use utf8 c_string_encoding#2310
WyattBlue merged 2 commits into
mainfrom
patch

Conversation

@WyattBlue

Copy link
Copy Markdown
Member

No description provided.

Switch the Cython c_string_encoding directive from "ascii" to "utf8" so
implicit char* <-> str conversions (e.g. av.Dictionary options, FFmpeg
error strings) no longer raise UnicodeDecode/EncodeError on non-ASCII
data.
@WyattBlue WyattBlue merged commit 1566a4b into main Jun 15, 2026
7 checks passed
@WyattBlue WyattBlue deleted the patch branch June 15, 2026 20:01
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.

1 participant