Skip to content

Match PSDraw text() encoding to the latin-1 specification in setfont()#9403

Merged
radarhere merged 1 commit intopython-pillow:mainfrom
Thynix:patch-1
Jan 26, 2026
Merged

Match PSDraw text() encoding to the latin-1 specification in setfont()#9403
radarhere merged 1 commit intopython-pillow:mainfrom
Thynix:patch-1

Conversation

@Thynix
Copy link
Contributor

@Thynix Thynix commented Jan 21, 2026

Without this, characters that are in latin-1 but reflected differently in UTF-8 will not be properly rendered. For example,"ó" becomes "ó".

Without this, characters that are in latin-1 but reflected differently in UTF-8 will not be properly rendered. For example,"ó" becomes "ó".
Copy link
Member

@radarhere radarhere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UTF-8 was set in 8eb117d, so this appears to have been an oversight there.

@radarhere radarhere merged commit 6564325 into python-pillow:main Jan 26, 2026
56 checks passed
@Thynix Thynix deleted the patch-1 branch January 26, 2026 06:03
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

Comments