InfraRuby (InfraRuby Vision)
- Login: InfraRuby
- Registered on: 03/16/2017
- Last sign in: 03/20/2017
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
03/20/2017
-
07:30 PM Ruby Bug #13321: String#codepoints for one-byte encodings
- Thanks!
03/17/2017
-
06:39 PM Ruby Bug #13321: String#codepoints for one-byte encodings
- Please update the documentation for `String#codepoints` too.
`String#codepoints` does return (Unicode) codepoints for US-ASCII and ISO-8859-1 as those encodings are the basis of Unicode.
Maybe add `Encoding#unicode_codepoints?` whi... -
03:10 AM Ruby Bug #13321: String#codepoints for one-byte encodings
- That's surprising to me but I can see that. Thanks!
03/16/2017
-
10:45 PM Ruby Bug #13321 (Rejected): String#codepoints for one-byte encodings
- On many versions of Ruby, including 2.4.0:
"\x80".force_encoding("WINDOWS-1252").codepoints.first # => 0x80
I expected 0x20AC: https://en.wikipedia.org/wiki/Windows-1252
See:
https://github.com/ruby/ruby/blob/v2_4_0/strin...