Bug #6393
closed
rdoc does not parse multibyte files
Added by nobu (Nobuyoshi Nakada) over 12 years ago.
Updated almost 12 years ago.
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
- Status changed from Open to Assigned
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r35531.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
rdoc: non-binary multibyte
- lib/rdoc/parser.rb (RDoc.binary?): binary read data may have
incomplete multibyte sequence. [ruby-core:44798][Bug #6393]
- Status changed from Closed to Assigned
- Priority changed from Normal to 5
- % Done changed from 100 to 0
- Status changed from Assigned to Closed
Thank you for the patch, I have checked it and it is good.
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0