texi2any gives encoding errors output for some of the glyph commands on
a Solaris 11 system. This is the case for @expansion{}. I reduced it
to the following input:
-----------------------------------------------------
\input texinfo.tex @c -*-texinfo-*-
@node Top
@top Texinfo
a documentation system that can produce both online information and a
printed manual from a single source using semantic markup.
@node @code{@@expansion}
@nodedescription How to indicate an expansion.
@subsection @code{@@expansion@{@}} (@expansion{}): Indicating an Expansion
@anchor{expansion}@c old name
@cindex Expansion, indicating
@cindex Macro expansion, indicating
@findex expansion
When an expression is a macro call, it expands into a new expression.
You can indicate the result of the expansion with the
@code{@@expansion@{@}} command.
@bye
-----------------------------------------------------
I put this in test.texi in a directory in the Texinfo sources.
Then, when I run '../tta/perl/texi2any.pl --html test.texi --no-split --force',
I get the following errors:
C:encoding error at byte 0xe2
C:encoding error at byte 0x86
C:encoding error at byte 0xa6
0xe2 0x86 0xa6 is the UTF-8 for U+21A6 (↦), the Unicode character output for
@expansion{}. The error messages are printed in the 'encode_with_iconv'
function in tta/C/main/utils.c.
I'm yet to track down where encode_with_iconv is being called. The ↦ character
does not occur in the output file (test.html), even on my GNU/Linux system
where I do not get such errors.
What seems to cause the problem is having the @expansion{} command on the
@subsection line. In regular paragraph text, it causes no problems.
Is there some internal conversion done on section titles that doesn't show
up in the output?
Running '../tta/perl/texi2any.pl test.texi --force' to produce test.info works
fine and the ↦ character is output in the Info file.