Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Encoding::CompatibilityError: undefined conversion from US-ASCII to ASCII-8BIT #2222

Closed
tarcieri opened this Issue · 1 comment

1 participant

Tony Arcieri
Dirkjan Bussink dbussink referenced this issue from a commit
Dirkjan Bussink dbussink Add Rubinius specific spec for string building
This ensures that we cover the behavior of string interpolation where
the string doesn't have an encoding yet. This is possible on Rubinius,
we only setup the encoding then in the method retrieving the encoding
from the string.

This is an extraction from issue #2222 and is added to prevent
regressions in this behavior.
7a0ce81
Dirkjan Bussink dbussink closed this issue from a commit
Dirkjan Bussink dbussink Don't ignore encodings from strings without it set
Those strings should be treated as strings with ASCII-8BIT encoding.
This change doesn't break any existing specs and also a regression spec
was added to make sure this behavior keeps working properly.

Fixes #2222
dcf6d75
Dirkjan Bussink dbussink closed this in dcf6d75
Tony Arcieri
Collaborator

w00t!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.