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

Change encode EUC-JP to UTF-8 #267

Merged
merged 1 commit into from
Apr 30, 2024
Merged

Change encode EUC-JP to UTF-8 #267

merged 1 commit into from
Apr 30, 2024

Conversation

ydah
Copy link
Contributor

@ydah ydah commented Apr 30, 2024

After testing Racc as per the instructions in README.ja.rdoc, I noticed the following failures:

❯ ruby -v
ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [arm64-darwin23]
❯ racc -ocalc.rb sample/calc-ja.y
❯ ruby calc.rb
calc.rb: calc.rb:197: invalid multibyte char (UTF-8) (SyntaxError)
calc.rb:197: invalid multibyte char (UTF-8)
calc.rb:197: invalid multibyte char (UTF-8)
calc.rb:197: invalid multibyte char (UTF-8)
calc.rb:197: invalid multibyte char (UTF-8)
calc.rb:197: invalid multibyte char (UTF-8)
calc.rb:197: invalid multibyte char (UTF-8)
calc.rb:197: invalid multibyte char (UTF-8)
calc.rb:197: invalid multibyte char (UTF-8)
calc.rb:198: invalid multibyte char (UTF-8)
calc.rb:198: invalid multibyte char (UTF-8)
calc.rb:198: invalid multibyte char (UTF-8)
calc.rb:198: invalid multibyte char (UTF-8)
calc.rb:198: invalid multibyte char (UTF-8)
calc.rb:198: invalid multibyte char (UTF-8)

After testing Racc as per the instructions in README.ja.rdoc, I noticed the following failures:

```
❯ racc -ocalc.rb sample/calc-ja.y
❯ ruby calc.rb
calc.rb: calc.rb:197: invalid multibyte char (UTF-8) (SyntaxError)
calc.rb:197: invalid multibyte char (UTF-8)
calc.rb:197: invalid multibyte char (UTF-8)
calc.rb:197: invalid multibyte char (UTF-8)
calc.rb:197: invalid multibyte char (UTF-8)
calc.rb:197: invalid multibyte char (UTF-8)
calc.rb:197: invalid multibyte char (UTF-8)
calc.rb:197: invalid multibyte char (UTF-8)
calc.rb:197: invalid multibyte char (UTF-8)
calc.rb:198: invalid multibyte char (UTF-8)
calc.rb:198: invalid multibyte char (UTF-8)
calc.rb:198: invalid multibyte char (UTF-8)
calc.rb:198: invalid multibyte char (UTF-8)
calc.rb:198: invalid multibyte char (UTF-8)
calc.rb:198: invalid multibyte char (UTF-8)
```
@hsbt hsbt merged commit b4ec52c into ruby:master Apr 30, 2024
28 checks passed
@ydah ydah deleted the change-encode branch April 30, 2024 10:58
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.

2 participants