Skip to content

Read as UTF-8 in test_gets_limit_multibyte_boundary - #202

Merged
hsbt merged 1 commit into
masterfrom
claude/sharp-spence-bb5014
Nov 26, 2026
Merged

hsbt merged 1 commit into
masterfrom
claude/sharp-spence-bb5014

Conversation

@hsbt

@hsbt hsbt commented Nov 26, 2026

Copy link
Copy Markdown
Member

test_gets_limit_multibyte_boundary assumed the default external encoding is UTF-8, so it failed under the C locale, where lines are read as US-ASCII and never equal the UTF-8 content. This passes external_encoding: Encoding::UTF_8 to GzipReader.new.

Forward-port of ruby/ruby#20206, which fixed the failure in the SHSTK AMD64 workflow (Fedora container, C locale).

Generated with Claude Code

The test relied on the default external encoding being UTF-8, so it failed under the C locale, as in the Fedora container of the SHSTK workflow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hsbt
hsbt merged commit 9e7e68b into master Nov 26, 2026
62 checks passed
@hsbt
hsbt deleted the claude/sharp-spence-bb5014 branch November 26, 2026 12: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.

1 participant