Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 697606 - [Tracker] Missing @documentencoding in texinfo files (seen with sys-apps/texinfo-6.7)
Summary: [Tracker] Missing @documentencoding in texinfo files (seen with sys-apps/texi...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
Keywords: Tracker
Depends on: 695918 695954 696044 697004 697494 697556 697726 706326 710824
  Show dependency tree
Reported: 2019-10-13 08:08 UTC by Ulrich Müller
Modified: 2021-04-26 17:16 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2019-10-13 08:08:08 UTC
sys-apps/texinfo-6.7 is picky about non-ASCII characters in texinfo files, if the file doesn't declare @documentencoding.

This is seen at least with files in the ISO-8859-1 encoding. Not sure if it actually occurs with files that are UTF-8, however, the texinfo manual says that @documentencoding should be declared for anything that isn't ASCII.

Typical error message:

utf8 "\xF8" does not map to Unicode at /usr/share/texinfo/Texinfo/ line 1796, <FH> line 1448.
Malformed UTF-8 character: \xf8\x72\x6c\x79\x6b (unexpected non-continuation byte 0x72, immediately after start byte 0xf8; need 5 bytes, got 1) in pattern match (m//) at /usr/share/texinfo/Texinfo/ line 3364.
Malformed UTF-8 character (fatal) at /usr/share/texinfo/Texinfo/ line 3364.

Example of bug fix:
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2021-04-26 17:16:06 UTC
Seems like nothing left to do here.