mathieu451 (Math Ieu)
- Login: mathieu451
- Registered on: 05/04/2021
- Last sign in: 05/04/2021
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
01/15/2023
-
05:24 AM Ruby Bug #19342 (Closed): String#encode does not always throw exceptions for invalid source encodings
- Documentation says that String#encode throws Encoding::InvalidByteSequenceError when the string isn't valid in the source encoding, but it does not always do so:
```
"\x99".encode('UTF-8', 'UTF-8')
"\x99".force_encoding('UTF-8').enc...