From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70047 Path: news.gmane.org!not-for-mail From: Brian Wedde Newsgroups: gmane.comp.tex.context Subject: Re: UTF8 / TeXUtils parsing error Date: Fri, 15 Jul 2011 11:34:17 -0700 Message-ID: <201107151134.17848.wbrian@onlineed.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1310754880 9883 80.91.229.12 (15 Jul 2011 18:34:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 15 Jul 2011 18:34:40 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 15 20:34:35 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QhnDc-0006vH-VL for gctc-ntg-context-518@m.gmane.org; Fri, 15 Jul 2011 20:34:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EA283CAE42; Fri, 15 Jul 2011 20:34:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id rcy4lgFrQH8q; Fri, 15 Jul 2011 20:34:27 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C87F9CAE3C; Fri, 15 Jul 2011 20:34:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 18BBECAE3C for ; Fri, 15 Jul 2011 20:34:26 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01XXA6U2IQTV for ; Fri, 15 Jul 2011 20:34:24 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 26B83CAC8D for ; Fri, 15 Jul 2011 20:34:24 +0200 (CEST) Original-Received: from mail-iy0-f169.google.com (mail-iy0-f169.google.com [209.85.210.169]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p6FIYMKs029001 for ; Fri, 15 Jul 2011 20:34:23 +0200 Original-Received: by iyb14 with SMTP id 14so285978iyb.14 for ; Fri, 15 Jul 2011 11:34:21 -0700 (PDT) Original-Received: by 10.231.118.18 with SMTP id t18mr3368819ibq.60.1310754861609; Fri, 15 Jul 2011 11:34:21 -0700 (PDT) Original-Received: from wsd004.localnet (75-145-72-161-Oregon.hfc.comcastbusiness.net [75.145.72.161]) by mx.google.com with ESMTPS id f13sm981870ibe.27.2011.07.15.11.34.19 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 15 Jul 2011 11:34:20 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.210.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06F8iymkm - 1793e26b4eca - 20110715 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:70047 Archived-At: I updated Ruby to the latest and greatest beta but have the same results: TeXUtils does not function correctly when processing .tui files, likely due to character encoding issues in Ruby. I'm running Ruby 1.9.2 and this seems to be the problem. 1.8.7 was working fine on other machines. There are evidently large changes in Ruby API and string handling and character encoding in upgrading from 1.8.x -> 1.9.x. I'm making the assumption that the only way to handle this is to downgrade Ruby. Are there any alternatives? Thanks for your help again! ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________