masakielastic (Masaki Kagaya)
- Login: masakielastic
- Email: masakielastic@gmail.com
- Registered on: 01/22/2015
- Last sign in: 01/22/2015
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 1 | 0 | 1 |
Activity
01/22/2015
-
01:12 AM Ruby Feature #10770: chr and ord behavior for ill-formed byte sequences and surrogate code points
- This issue comes from discussion about mruby's behavior (https://github.com/mruby/mruby/issues/2708).
-
01:09 AM Ruby Feature #10770 (Open): chr and ord behavior for ill-formed byte sequences and surrogate code points
- `ord` raises error when meeting ill-formed byte sequences, thus the difference of atttiute exists between `each_char` and `each_codepoint`.
~~~ruby
str = "a\x80bc"
str.each_char {|c| puts c }
# no error
str.each_codepoint {|c| pu...