From: usa@... Date: 2015-08-17T08:59:17+00:00 Subject: [ruby-core:70422] [Ruby trunk - Bug #11413] String#split with wchar string Issue #11413 has been updated by Usaku NAKAMURA. Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: DONE to 2.0.0: REQUIRED, 2.1: DONE, 2.2: DONE ruby_2_1 r51615 merged revision(s) 51470. note: removed LIKELY macro. ---------------------------------------- Bug #11413: String#split with wchar string https://bugs.ruby-lang.org/issues/11413#change-53831 * Author: Nobuyoshi Nakada * Status: Closed * Priority: Normal * Assignee: * ruby -v: * Backport: 2.0.0: REQUIRED, 2.1: DONE, 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/