From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62818 Path: news.gmane.org!not-for-mail From: =?iso-8859-2?B?UHJvY2jhemthIEx1a+G5?= Newsgroups: gmane.comp.tex.context Subject: Re: Problem processing a non-UTF8 Lua script Date: Thu, 21 Oct 2010 19:47:58 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1287683296 17280 80.91.229.12 (21 Oct 2010 17:48:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 21 Oct 2010 17:48:16 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 21 19:48:14 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 1P8zFN-00037Y-Qu for gctc-ntg-context-518@m.gmane.org; Thu, 21 Oct 2010 19:48:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D394BCA777; Thu, 21 Oct 2010 19:48:12 +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 Jhr11-VrLU2m; Thu, 21 Oct 2010 19:48:10 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 56EC8CA77A; Thu, 21 Oct 2010 19:48:10 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C7B14CA77A for ; Thu, 21 Oct 2010 19:48:09 +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 WQagaybGuSgc for ; Thu, 21 Oct 2010 19:48:07 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id B6ED9CA777 for ; Thu, 21 Oct 2010 19:48:07 +0200 (CEST) Original-Received: from mail.pontex.cz (mail.pontex.cz [89.233.168.98]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9LHm6Ib010797 for ; Thu, 21 Oct 2010 19:48:06 +0200 Original-Received: from lk-2008-nbk ([90.176.144.79]) (authenticated user lpr@pontex.cz) by mail.pontex.cz (Kerio MailServer 6.6.2) for ntg-context@ntg.nl; Thu, 21 Oct 2010 19:48:03 +0200 In-Reply-To: User-Agent: Opera Mail/10.10 (Win32) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=89.233.168.98; country=CZ; region=52; city=Prague; latitude=50.0833; longitude=14.4667; http://maps.google.com/maps?q=50.0833,14.4667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08DltM62o - e60f754c6c62 - 20101021 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:62818 Archived-At: Well, I've done it by the proposed way in this particular case. (I.e. I have the only one UTF-8 coded file - and this is the only one text = file in general - for this one case. TextPad supports various codings as well. I was not sure whether the text editor will be able to determine coding use= d, so I worried about having to select encoding every time I'd like to edit= this Lua file. But, fortunately, the editor is able to determine the UTF-8 coding; and the= CP1250 as well. So once I saved this Lua file with UTF-8 encoding, I don't have to reselect= it.) Lukas On Thu, 21 Oct 2010 17:49:43 +0200, Vedran Mileti=E6 wr= ote: > 2010/10/21 Proch=E1zka Luk=E1=B9 : >> Or how to make Ctx work with non-UTF8 Lua files? > > Notepad supports saving to UTF-8. Can't you rather convert your files to = it? > ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________