Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144497 - app-text/html2text skips character...
Summary: app-text/html2text skips character...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo SGML project
URL: http://www.mbayer.de/html2text/issues...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-20 02:11 UTC by Anton Romanov
Modified: 2012-03-22 16:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Romanov 2006-08-20 02:11:53 UTC
The last char of Ukrainian/Russian/Bulgarian/... alphabet with ASCII-code 255 is not displayed.

using unsigned instead of char in reading by changing line 365 of the file urlistream.C so that it reads:

int
urlistream::get()
{
  unsigned char ch;
  int ret = ::read(fd_, &ch, 1);
  return (ret > 0 ? ch : -1);
}

works fine

also i think homepage should be changed to http://www.mbayer.de/html2text/
Comment 1 Mike Gilbert gentoo-dev 2012-03-22 16:42:42 UTC
+*html2text-1.3.2a (22 Mar 2012)
+
+  22 Mar 2012; Mike Gilbert <floppym@gentoo.org>
+  +files/html2text-1.3.2a-compiler.patch,
+  +files/html2text-1.3.2a-urlistream-get.patch, +html2text-1.3.2a.ebuild:
+  Point SRC_URI at new location. Adjust HOMEPAGE. EAPI=4. Fix bug 144497.
+