Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StringIO#set_encoding doesn't accept "ext_enc:int_enc" #16

Closed
mrkn opened this issue Aug 26, 2020 · 0 comments · Fixed by #32
Closed

StringIO#set_encoding doesn't accept "ext_enc:int_enc" #16

mrkn opened this issue Aug 26, 2020 · 0 comments · Fixed by #32

Comments

@mrkn
Copy link
Member

mrkn commented Aug 26, 2020

$ ruby -rstringio -e "StringIO.new('').set_encoding('UTF-8:UTF-8')"
Traceback (most recent call last):
        1: from -e:1:in `<main>'
-e:1:in `set_encoding': unknown encoding name - UTF-8:UTF-8 (ArgumentError)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant