General

Profile

tatzyr (Tatsuya Otsuka)

  • Login: tatzyr
  • Email: towzero3@gmail.com
  • Registered on: 07/22/2015
  • Last sign in: 06/06/2023

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 3 3

Activity

06/02/2023

01:46 AM Ruby Feature #19706 (Third Party's Issue): Make JSON.[] support ARGF object
**Abstract**
I propose to extend the `JSON.[]` method in the `json` standard library to support `ARGF` object directly.
**Background**
Currently, the `JSON.[]` method supports parsing from a string or generating a string from an ob...
tatzyr (Tatsuya Otsuka)

11/22/2015

02:14 AM Ruby Bug #11729 (Closed): String#split(nil) incorrectly uses $;
Hi,
Is this intentional?
```
$; = "@"
"a@b".split(nil) # => ["a", "b"]
```
I expect `["a@b"]` because I found the following sentence in the Japanese documentation.
```
1 バイトの空白文字 ' ' か nil
先頭と末尾の空白を除いたうえで、空白文字列で分割する。
``...
tatzyr (Tatsuya Otsuka)

07/22/2015

12:53 PM Ruby Bug #11387 (Closed): String#force_encoding と String#reverse の後にSEGV
以下のコードでSEGVします。
```ruby
broken_str = "abcd\xf0"
broken_str.force_encoding("utf-8").reverse
p broken_str.reverse
```
また、以下のコードでは `String#split` で `ArgumentError (invalid byte sequence in UTF-8)` が
発生することが期待されますが、実際は例外が発生しません。
...
tatzyr (Tatsuya Otsuka)

Also available in: Atom