Skip to content

Read ASCII-incompatible strings in binary mode#1027

Merged
nobu merged 1 commit into
ruby:masterfrom
nobu:ascii-incompatible-read
Jun 19, 2026
Merged

Read ASCII-incompatible strings in binary mode#1027
nobu merged 1 commit into
ruby:masterfrom
nobu:ascii-incompatible-read

Conversation

@nobu

@nobu nobu commented Jun 19, 2026

Copy link
Copy Markdown
Member

Lots of encoding errors.
http://rubyci.s3.amazonaws.com/debian/ruby-master/log/20260618T093002Z.fail.html.gz

Probably need to read in binary mode:

    payload = File.binread(path)

Originally posted by @nobu in #1015

@nobu nobu merged commit 46aa46d into ruby:master Jun 19, 2026
42 checks passed
@nobu nobu deleted the ascii-incompatible-read branch June 19, 2026 02:55
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