Return-Path: Delivered-To: apmail-tcl-websh-dev-archive@www.apache.org Received: (qmail 20370 invoked from network); 30 Aug 2005 08:17:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Aug 2005 08:17:26 -0000 Received: (qmail 73979 invoked by uid 500); 30 Aug 2005 08:17:26 -0000 Delivered-To: apmail-tcl-websh-dev-archive@tcl.apache.org Received: (qmail 73959 invoked by uid 500); 30 Aug 2005 08:17:26 -0000 Mailing-List: contact websh-dev-help@tcl.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list websh-dev@tcl.apache.org Received: (qmail 73946 invoked by uid 99); 30 Aug 2005 08:17:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2005 01:17:26 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [212.216.176.141] (HELO vsmtp1.tin.it) (212.216.176.141) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2005 01:17:41 -0700 Received: from florence.casa (82.56.126.201) by vsmtp1.tin.it (7.2.060.1) id 4300FA6500583353; Tue, 30 Aug 2005 10:17:15 +0200 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by florence.casa (Postfix) with ESMTP id 9F8EC3EC811; Tue, 30 Aug 2005 10:14:34 +0200 (CEST) Message-ID: <43141569.2080901@dedasys.com> Date: Tue, 30 Aug 2005 10:14:33 +0200 From: "David N. Welton" User-Agent: Debian Thunderbird 1.0.2 (X11/20050817) X-Accept-Language: en-us, en MIME-Version: 1.0 To: taguchi@iij.ad.jp Cc: Ronnie Brunner , websh-dev@tcl.apache.org Subject: Re: i18n problems in Websh (multibyte charsets) References: <20050819162340.GA23115@netcetera.ch> <20050826150021.GK13002@netcetera.ch> <20050829213440.GA591@netcetera.ch> In-Reply-To: X-Enigmail-Version: 0.91.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N >From a very quick glance at this thread, I think what you might want to consider doing is using next = (char *)Tcl_UtfNext(cur); in the parser. weboutint.c uses Dstrings. In Rivet, the rivetParser.c file uses the Utf stuff in order to parse up the tags. I think it's done correctly but you'd probably have to try it with some non-European encodings... One thing that would be handy would be a small test case in Tcl that demonstrates the problem (if I haven't missed it... apologies if I didn't see it). -- David N. Welton - http://www.dedasys.com/davidw/ Apache, Linux, Tcl Consulting - http://www.dedasys.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: websh-dev-unsubscribe@tcl.apache.org For additional commands, e-mail: websh-dev-help@tcl.apache.org