ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen Outside <pragma@wxs.nl>
Subject: Re: texutil "malformed UTF-8 character" error
Date: Sun, 22 Aug 2004 23:43:27 +0200	[thread overview]
Message-ID: <4129137F.2080204@wxs.nl> (raw)
In-Reply-To: <4128978F.7020902@capdm.com>

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
-----------------------------------------------------------------

  parent reply	other threads:[~2004-08-22 21:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-22 12:54 Duncan Hothersall
2004-08-22 12:57 ` Duncan Hothersall
2004-08-22 21:45   ` Hans Hagen Outside
2004-08-22 21:43 ` Hans Hagen Outside [this message]
     [not found] <20040823024808.07B181278C@ronja.ntg.nl>
2004-08-23  8:03 ` Duncan Hothersall
     [not found] <20040823100001.BA8FF1277A@ronja.ntg.nl>
2004-08-23 11:20 ` Duncan Hothersall
     [not found] <20040823125611.DABA31278B@ronja.ntg.nl>
2004-08-23 14:31 ` Duncan Hothersall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4129137F.2080204@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).