[#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:70220] [Ruby trunk - Bug #11413] [Open] String#split with wchar string

From: nobu@...
Date: 2015-08-03 01:00:48 UTC
List: ruby-core #70220
Issue #11413 has been reported by Nobuyoshi Nakada.

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

* Author: Nobuyoshi Nakada
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: 
* Backport: 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: REQUIRED
----------------------------------------
~~~
$ 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