From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/57164 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: mkiv and unicode Date: Tue, 16 Mar 2010 17:40:48 +0100 Message-ID: <4B9FB490.7000800@wxs.nl> References: <4B9FBC91.15944.1B2608F@wwl.musensturm.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1268757681 28489 80.91.229.12 (16 Mar 2010 16:41:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 16 Mar 2010 16:41:21 +0000 (UTC) Cc: Wolfgang Werners-Lucchini To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 16 17:41:17 2010 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 1NrZpU-0002Ts-VZ for gctc-ntg-context-518@m.gmane.org; Tue, 16 Mar 2010 17:41:17 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A7EDFC9CF8; Tue, 16 Mar 2010 17:41:13 +0100 (CET) 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 CaW1FtIPp6Jr; Tue, 16 Mar 2010 17:41:02 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BBBF5C9CD7; Tue, 16 Mar 2010 17:41:02 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B0D57C9CD7 for ; Tue, 16 Mar 2010 17:40:59 +0100 (CET) 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 vsrMPvkTKvir for ; Tue, 16 Mar 2010 17:40:54 +0100 (CET) Original-Received: from mail.solcon.nl (unknown [217.121.8.199]) by balder.ntg.nl (Postfix) with ESMTP id 15379C9C43 for ; Tue, 16 Mar 2010 17:40:53 +0100 (CET) X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-9 (SurgeMail 4.2d2) with ESMTP id 3432-1713362 for multiple; Tue, 16 Mar 2010 17:40:24 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3 In-Reply-To: <4B9FBC91.15944.1B2608F@wwl.musensturm.de> X-Authenticated-User: hagen@controller-9 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:57164 Archived-At: On 16-3-2010 17:14, Wolfgang Werners-Lucchini wrote: > Hallo, > >>> I work all the time with good old mkii-context, but I have had a lot >>> of problems last time, which could be solved easely if I switch to >>> mkiv. So I wonder if I should change. The main argument for me to >>> stay with mkii is the following: >>> >>> I have a lot of lua scripts withhin scite which are preprocessing my >>> textfiles (string.gsub etc.) These scripts depent on ansi-code and do >>> not work with unicode too. >>> >>> An other problem I have, is to teach scite to use utf-8 per default. >>> (code.page=65001) does not work for me. I have tried this with a >>> lot of versions of scite. >> >> code.page=65001 >> output.code.page=65001 > > I have tried this very often. I have tried this in a fresh scite > installation uncommenting this in the global propertie file. But it > doesn't work. > File->Encoding is Code Page Property. And my files are saved in Ansi. strange > I do not want look every time if I have saved with the proper > encoding. I do not want files with ansi and files in utf mixed. I > have considered to change the editor, but I very like the lua > ability. > >>> Has anybody experiences with scite-lua-scripts and unicode? >> >> it depends on what you do but normally lua does not care about funny >> characters in strings >> >> an option is to run the script outside scite and pipe data back > > Yes, this should allow one to use special librarys. I have heard of > 'slnunicode' but haven't tested it yet. you can then just use texlua which has this built in ----------------------------------------------------------------- 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 ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________