[#70257] [Ruby trunk - Feature #11420] [Open] Introduce ID key table into MRI — ko1@...

Issue #11420 has been reported by Koichi Sasada.

11 messages 2015/08/06

[ruby-core:70402] [Ruby trunk - Bug #11413] String#split with wchar string

From: nagachika00@...
Date: 2015-08-15 18:31:05 UTC
List: ruby-core #70402
Issue #11413 has been updated by Tomoyuki Chikanaga.

Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: REQUIRED to 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: DONE

Backported into `ruby_2_2` branch at r51590.

----------------------------------------
Bug #11413: String#split with wchar string
https://bugs.ruby-lang.org/issues/11413#change-53805

* Author: Nobuyoshi Nakada
* Status: Closed
* Priority: Normal
* Assignee: 
* ruby -v: 
* Backport: 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: DONE
----------------------------------------
~~~
$ ruby -v -e 'p "a\0b".encode("utf-16le").split("\0".encode("utf-16le"))'
ruby 2.3.0dev (2015-08-02 trunk 51467) [universal.x86_64-darwin14]
["", "b"]
~~~

Expected to be `["a", "b"]`, same as ordinary ASCII-compatible encodings.



-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next