Skip to content

Conversation

@nobu
Copy link
Member

@nobu nobu commented Jan 16, 2024

Fix #78

@kou
Copy link
Member

kou commented Jan 17, 2024

The current behavior is compatible with IO:

str = "\xFE\xFFColumn1,Column2\n" + "\"value1.1\",value1.2\n"
File.write("/tmp/xxx.txt", str)
File.open("/tmp/xxx.txt", "rb", encoding: "utf-16") do |io|
  io.gets *["\n", 8192]
end

If we want to change the behavior, we may want to change the IO's behavior too.

@kou
Copy link
Member

kou commented Jan 17, 2024

@jherdman
Copy link

Just wondering what's happening here. We're stuck on stringio 3.0.8.

@kou
Copy link
Member

kou commented Nov 20, 2024

IO has a similar problem: https://bugs.ruby-lang.org/issues/20819

@kou
Copy link
Member

kou commented Nov 27, 2024

@nobu Could you resolve conflict?

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.

Breaking Change in v3.0.9

3 participants