Bug#768127: Fails to build the index when invalid UTF-8 is met

2014-12-18 Thread Daniel Getz
On Thu, Dec 18, 2014 at 8:49 PM, gregor herrmann wrote: > Ok, so what are we doing now? > > While I would like dhelp to handle this situation a bit more > gracefully, I suggest to downgrade the severity of the bug since it > shouldn't affect anyone running packages contained in recent and > upcom

Bug#768127: Fails to build the index when invalid UTF-8 is met

2014-12-18 Thread Daniel Getz
On Thu, Dec 18, 2014 at 4:30 PM, Yavor Doganov wrote: > > It seems that there are two different problems -- Santiago's failure > that he posted on the bug log is at dhelp.rb:185 while mine is at > debian.rb:914 (which is why I suggested it might be a ruby-debian > issue). If you and Daniel have r

Bug#768127: Fails to build the index when invalid UTF-8 is met

2014-12-07 Thread Daniel Getz
correctness beyond trying it and seeing that it works. - Dan On Sun, Dec 7, 2014 at 2:06 PM, gregor herrmann wrote: > Control: tag -1 - moreinfo > Control: tag -1 + confirmed > > On Sat, 06 Dec 2014 01:33:58 -0100, Daniel Getz wrote: > > I can reproduce the problem with > LC_A

Bug#768127: Fails to build the index when invalid UTF-8 is met

2014-12-05 Thread Daniel Getz
Attached is a diff with a change to dhelp_parse.rb which sets Encoding.default_external explicitly, so that even if LANG=C, it uses UTF-8 instead of US-ASCII as the default for opening files. By my (limited) understanding of Encoding.default_external, this should have the same effect on opening fil