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

Add missing row separator encoding conversion #69

Merged
merged 1 commit into from
Nov 8, 2023
Merged

Add missing row separator encoding conversion #69

merged 1 commit into from
Nov 8, 2023

Conversation

kou
Copy link
Member

@kou kou commented Nov 6, 2023

The conversion logic is borrowed from ruby/ruby's io.c: https://github.com/ruby/ruby/blob/40391faeab608665da87a05c686c074f91a5a206/io.c#L4059-L4079

Fix #68

Reported by IWAMOTO Kouichi. Thanks!!!

The conversion logic is borrowed from ruby/ruby's io.c:
https://github.com/ruby/ruby/blob/40391faeab608665da87a05c686c074f91a5a206/io.c#L4059-L4079

Fix #68

Reported by IWAMOTO Kouichi. Thanks!!!
@kou
Copy link
Member Author

kou commented Nov 6, 2023

@nobu You may want to review this.

@kou kou merged commit 4b170c1 into master Nov 8, 2023
52 checks passed
@kou kou deleted the utf-16 branch November 8, 2023 00:46
matzbot pushed a commit to ruby/ruby that referenced this pull request Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

UTF-16LEな文字列でgetsが正しく動かない
1 participant