Project

General

Profile

Actions

Bug #6393

closed

rdoc does not parse multibyte files

Added by nobu (Nobuyoshi Nakada) over 12 years ago. Updated almost 12 years ago.

Status:
Closed
Target version:
ruby -v:
r35518
Backport:
[ruby-core:44798]

Description

=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


Files

0002-rdoc-non-binary-multibyte.patch (1.19 KB) 0002-rdoc-non-binary-multibyte.patch nobu (Nobuyoshi Nakada), 05/02/2012 03:47 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0