On Mon, May 12, 2014 at 10:45 AM, Jerry James <james(a)xemacs.org> wrote:
$ iconv -f iso-2022-jp -t utf-8 skk.texi > skk.texi.utf8
iconv: illegal input sequence at position 154746
That is line 4779 of skk.texi, right after the "W:" if I am counting
characters correctly. Any advice on how to proceed?
I've got a framework in place that seems to generate HTML from the
info files correctly, except for this problem. It's not just iconv
that is confused by skk.texi, either; XEmacs 21.5 also has problems
with it.
Would one of you who reads Japanese please take a look at lines 4771
and 4780 of skk.texi? There is something wrong with those two lines.
If I use XEmacs itself to convert this file to UTF-8, then makeinfo
still chokes on the results, complaining:
utf8 "\xE04576" does not map to Unicode at
/usr/share/texinfo/Texinfo/Parser.pm line 1909, <FH> line 4771.
utf8 "\xE04596" does not map to Unicode at
/usr/share/texinfo/Texinfo/Parser.pm line 1909, <FH> line 4771.
utf8 "\xE045B6" does not map to Unicode at
/usr/share/texinfo/Texinfo/Parser.pm line 1909, <FH> line 4771.
skk.texi:4780: misplaced {
skk.texi:4780: misplaced }
skk.texi:4780: misplaced {
skk.texi:4780: misplaced }
skk.texi:4780: misplaced {
skk.texi:4780: misplaced }
make[2]: *** [texi/skk_toc.html] Error 1
And reloading the UTF-8 version of the file in XEmacs results in a
bunch of weird characters showing up. I have no idea what should be
on those lines, so I need some help to proceed. Thanks,
--
Jerry James
http://www.jamezone.org/
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches