Breaking Change in v3.0.9
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 63
- Forks
- 42
- Avg merge
- 20h 32m
- Merged PRs (30d)
- 3
Description
I've traced back a breaking change to v3.0.9. Here's the minimal repro:
str = "\xFE\xFFColumn1,Column2\n" + "\"value1.1\",value1.2\n"
io = StringIO.new(str)
io.gets *["\n", 8192]
In v3.0.8:
io.gets *["\n", 8192]
#=> "\xFE\xFFColumn1,Column2\n"
In v3.0.9:
ArgumentError:
encoding mismatch: UTF-16BE IO with UTF-8 RS
I suspect there's some kind of action for me, but this error message is a bit opaque (i.e. what is RS?).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the minimal StringIO#gets reproduction in the issue and compare its behavior between v3.0.8 and v3.0.9, focusing on the UTF-16BE input and UTF-8 record separator. Determine whether the regression or the opaque encoding-mismatch message is the intended target; done means the reported behavior is resolved or the error explains the required action clearly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100