From: "drbrain (Eric Hodel)" Date: 2013-01-04T07:30:14+09:00 Subject: [ruby-core:51233] [ruby-trunk - Bug #6393][Closed] rdoc does not parse multibyte files Issue #6393 has been updated by drbrain (Eric Hodel). Status changed from Assigned to Closed Thank you for the patch, I have checked it and it is good. ---------------------------------------- Bug #6393: rdoc does not parse multibyte files https://bugs.ruby-lang.org/issues/6393#change-35197 Author: nobu (Nobuyoshi Nakada) Status: Closed Priority: High Assignee: drbrain (Eric Hodel) Category: lib Target version: 2.0.0 ruby -v: r35518 =begin (({RDoc::Parser.binary?})) mistakenly returns (({true})) against the file which contains correct multibyte content. The method reads 1024bytes in binary mode, but it may end in the middle of a character and have incomplete byte sequence. =end -- http://bugs.ruby-lang.org/