Actions
Bug #6393
closedrdoc does not parse multibyte files
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
Updated by nobu (Nobuyoshi Nakada) over 12 years ago
- Status changed from Open to Assigned
Updated by nobu (Nobuyoshi Nakada) over 12 years ago
- 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]
Updated by nobu (Nobuyoshi Nakada) almost 12 years ago
- Status changed from Closed to Assigned
- Priority changed from Normal to 5
- % Done changed from 100 to 0
Updated by drbrain (Eric Hodel) almost 12 years ago
- Status changed from Assigned to Closed
Thank you for the patch, I have checked it and it is good.
Actions
Like0
Like0Like0Like0Like0