texutil "malformed UTF-8 character" error
I'm running the latest beta on top of a TeXlive 2003 install on linux. The job I'm currently running needs various tables of contents (and a set of bookmarks) but texutil (v. 8.2) seems to be choking on the .tui file at the very end of the run with this message: TeXUtil 8.2 - ConTeXt / PRAGMA ADE 1992-2004 action : processing commands, lists and registers option : sorting IJ under Y option : converting high ASCII values input file : nubs-rg-bk.tui output file : nubs-rg-bk.tuo Malformed UTF-8 character (unexpected end of string) at /usr/TeX/texmf/scripts/context/perl/texutil.pl line 1520, <TUI> line 3. Malformed UTF-8 character (unexpected end of string) at /usr/TeX/texmf/scripts/context/perl/texutil.pl line 979, <TUI> line 3. Malformed UTF-8 character (unexpected end of string) at /usr/TeX/texmf/scripts/context/perl/texutil.pl line 990, <TUI> line 3. passed commands : 1136 remapped keys : 0 register entries : 0 -> 0 entries 0 references synonym entries : 0 -> 0 entries embedded files : 1 As you can see, as a result of the UTF-8 errors the .tui file isn't being successfully read, so I'm getting no register entries and hence no tables of contents ( or bookmarks). I'm in the process of composing a minimal example file, but it's tough going and I wondered if anyone could point me in the right direction from the information in the error message. I'd be really grateful! (Impossible deadlines approach...) Thanks all. Duncan
I wrote:
Malformed UTF-8 character (unexpected end of string) at /usr/TeX/texmf/scripts/context/perl/texutil.pl line 1520, <TUI> line 3. etc.
Forgot to say, the /tui file in question has this at line 3: c \thisisbytesequence{^^G^^[#} which certainly does look a bit funny. Duncan
Duncan Hothersall wrote:
I wrote:
Malformed UTF-8 character (unexpected end of string) at /usr/TeX/texmf/scripts/context/perl/texutil.pl line 1520, <TUI> line 3.
etc.
Forgot to say, the /tui file in question has this at line 3:
c \thisisbytesequence{^^G^^[#}
which certainly does look a bit funny.
can you check your cp8bit.tcx file? it probably isn't 8 bit -) should be: 0x00 0x00 % 0x01 0x01 % 0x02 0x02 % 0x03 0x03 % 0x04 0x04 % etc Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Duncan Hothersall wrote:
I'm running the latest beta on top of a TeXlive 2003 install on linux. The job I'm currently running needs various tables of contents (and a set of bookmarks) but texutil (v. 8.2) seems to be choking on the .tui file at the very end of the run with this message:
TeXUtil 8.2 - ConTeXt / PRAGMA ADE 1992-2004
action : processing commands, lists and registers option : sorting IJ under Y option : converting high ASCII values input file : nubs-rg-bk.tui output file : nubs-rg-bk.tuo Malformed UTF-8 character (unexpected end of string) at /usr/TeX/texmf/scripts/context/perl/texutil.pl line 1520, <TUI> line 3. Malformed UTF-8 character (unexpected end of string) at /usr/TeX/texmf/scripts/context/perl/texutil.pl line 979, <TUI> line 3. Malformed UTF-8 character (unexpected end of string) at /usr/TeX/texmf/scripts/context/perl/texutil.pl line 990, <TUI> line 3. passed commands : 1136 remapped keys : 0 register entries : 0 -> 0 entries 0 references synonym entries : 0 -> 0 entries embedded files : 1
As you can see, as a result of the UTF-8 errors the .tui file isn't being successfully read, so I'm getting no register entries and hence no tables of contents ( or bookmarks).
I'm in the process of composing a minimal example file, but it's tough going and I wondered if anyone could point me in the right direction from the information in the error message.
I'd be really grateful! (Impossible deadlines approach...)
in cont-new (or cont-sys) you can say: \def\testbytesequence{} This 'test' was added in order to determine of tex runs in 8 bit mode. I wonder where the Malformed message comes from. Since when is perl utf-8 by default? (i run perl 5.8.0) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Duncan Hothersall
-
Hans Hagen Outside