From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16210 Path: main.gmane.org!not-for-mail From: Hans Hagen Outside Newsgroups: gmane.comp.tex.context Subject: Re: texutil "malformed UTF-8 character" error Date: Sun, 22 Aug 2004 23:43:27 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <4129137F.2080204@wxs.nl> References: <4128978F.7020902@capdm.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1093211026 6962 80.91.224.253 (22 Aug 2004 21:43:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 22 Aug 2004 21:43:46 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 22 23:43:35 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bz07j-0005A5-00 for ; Sun, 22 Aug 2004 23:43:35 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E61A412783; Sun, 22 Aug 2004 23:43:34 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28783-08; Sun, 22 Aug 2004 23:43:34 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3740512772; Sun, 22 Aug 2004 23:43:34 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 191D712772 for ; Sun, 22 Aug 2004 23:43:33 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28910-04 for ; Sun, 22 Aug 2004 23:43:32 +0200 (CEST) Original-Received: from mailrelay02.solcon.nl (unknown [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 7AFC71276B for ; Sun, 22 Aug 2004 23:43:32 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay02.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id i7MLhRZH031890 for ; Sun, 22 Aug 2004 23:43:27 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id F3F0B2EA3D; Sun, 22 Aug 2004 23:43:31 +0200 (CEST) Original-Received: from [127.0.0.1] (unknown [10.100.1.1]) by server-1.pragma-net.nl (Postfix) with ESMTP id 83E9A2373B for ; Sun, 22 Aug 2004 21:43:29 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <4128978F.7020902@capdm.com> X-Virus-Scanned: clamd / ClamAV version 0.73, clamav-milter version 0.73a on mailrelay02.solcon.nl X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:16210 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16210 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, line 3. > Malformed UTF-8 character (unexpected end of string) at > /usr/TeX/texmf/scripts/context/perl/texutil.pl line 979, line 3. > Malformed UTF-8 character (unexpected end of string) at > /usr/TeX/texmf/scripts/context/perl/texutil.pl line 990, 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 -----------------------------------------------------------------