From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16217 Path: main.gmane.org!not-for-mail From: Duncan Hothersall Newsgroups: gmane.comp.tex.context Subject: Re: texutil "malformed UTF-8 character" error Date: Mon, 23 Aug 2004 09:03:36 +0100 Sender: ntg-context-bounces@ntg.nl Message-ID: <4129A4D8.6040202@capdm.com> References: <20040823024808.07B181278C@ronja.ntg.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1093248241 10125 80.91.224.253 (23 Aug 2004 08:04:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Aug 2004 08:04:01 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 23 10:03:43 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 1Bz9nq-0003pX-00 for ; Mon, 23 Aug 2004 10:03:42 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 23AE71278B; Mon, 23 Aug 2004 10:03:42 +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 31483-03-3; Mon, 23 Aug 2004 10:03:38 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B72E01278D; Mon, 23 Aug 2004 10:03:38 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 740491278D for ; Mon, 23 Aug 2004 10:03:37 +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 31483-03-2 for ; Mon, 23 Aug 2004 10:03:36 +0200 (CEST) Original-Received: from liszt-12.ednet.co.uk (unknown [212.20.226.36]) by ronja.ntg.nl (Postfix) with ESMTP id 87D551278B for ; Mon, 23 Aug 2004 10:03:36 +0200 (CEST) Original-Received: from [192.168.254.8] (unknown [212.20.255.162]) by liszt-12.ednet.co.uk (Postfix) with ESMTP id 1251A1BE47E for ; Mon, 23 Aug 2004 09:03:36 +0100 (BST) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; rv:1.7) Gecko/20040514 X-Accept-Language: en-gb, en Original-To: ntg-context@ntg.nl In-Reply-To: <20040823024808.07B181278C@ronja.ntg.nl> 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:16217 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16217 Hans wrote: > 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) I'm running 5.8.0 too (on Redhat). I have added \def\testbytesequence{} to the end of cont-new and the errors go away - but unfortunately I'm still not getting any register output. I still get register entries : 0 -> 0 entries 0 references although the .tui file is full of entries as far as I can tell. Maybe something esle is wrong - still working on minimal file. Hans wrote: > 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 Well on my system that file (which is dated February 29 2000) starts like this more /usr/TeX/texmf/web2c/cp8bit.tcx: %% cp8bit.tcx: transparent encoding translation table for TeX %% input: any 8-bit text encoding %% internal TeX: the same encoding (nothing changes, but teTeX will display %% 8-bit messages on console and in logfile) %% comment: This is required in teTeX to see 8-bit messages at console and %% in logfile (they are displayed in ^^xx form by default). %% Usage: add %% %& --translate-file=cp8bit.tcx %% as a first line of your document. %% %% Prepared by Alexander Bokovoy %% (1999) Public domain 0x80 0x80 % 0x81 0x81 % 0x82 0x82 % 0x83 0x83 % 0x84 0x84 % 0x85 0x85 % 0x86 0x86 % 0x87 0x87 % etc. And the first lines of my log file for the job are: This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2) (format=cont-en 2004. 8.22) 23 AUG 2004 08:32 entering extended mode %&-line parsing enabled. (/usr/TeX/texmf/web2c/cp8bit.tcx) Thanks for any further insight! Duncan