From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68111 Path: news.gmane.org!not-for-mail From: pmlists@free.fr (Peter =?utf-8?Q?M=C3=BCnster?=) Newsgroups: gmane.comp.tex.context Subject: Re: t-filter: no table created when Unicode characters are included Date: Sun, 01 May 2011 20:52:12 +0200 Message-ID: <8762puz21v.fsf@micropit.couberia.bzh> References: <1304111382.5256.20.camel@mattotaupa> <1304149025.5773.17.camel@mattotaupa> <87r58izkjf.fsf@micropit.couberia.bzh> 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 1304275975 2676 80.91.229.12 (1 May 2011 18:52:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 1 May 2011 18:52:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun May 01 20:52:49 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 1QGblA-0008SW-Oh for gctc-ntg-context-518@m.gmane.org; Sun, 01 May 2011 20:52:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A76DFCAC4A; Sun, 1 May 2011 20:52:47 +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 0HfBjjRQ72aN; Sun, 1 May 2011 20:52:44 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A4A9ECAC43; Sun, 1 May 2011 20:52:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AB84BCAC43 for ; Sun, 1 May 2011 20:52:42 +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 xGsOZby3DOOp for ; Sun, 1 May 2011 20:52:16 +0200 (CEST) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by balder.ntg.nl (Postfix) with ESMTP id 8B98ACAC2D for ; Sun, 1 May 2011 20:52:16 +0200 (CEST) Original-Received: from smtp.smtpout.orange.fr (smtp02.smtpout.orange.fr [80.12.242.124]) by filter4-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p41IqDrR027028 for ; Sun, 1 May 2011 20:52:16 +0200 Original-Received: from micropit.couberia.bzh ([90.25.38.207]) by mwinf5d37 with ME id eJsD1g0044U9jVW03JsDCM; Sun, 01 May 2011 20:52:13 +0200 Original-Received: by micropit.couberia.bzh (Postfix, from userid 1000) id BDFE81605F8; Sun, 1 May 2011 20:52:12 +0200 (CEST) In-Reply-To: (Aditya Mahajan's message of "Sun, 1 May 2011 10:29:21 -0400 (EDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.12.242.124; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 04ECiQdDQ - 0b21c823b778 - 20110501 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 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:68111 Archived-At: Aditya Mahajan writes: > *\directlua{os.execute("locale")} Ok, locale outputs something depending on the enviroment. Lets look directly at the enviroment: $ CMD="set | grep -e ^LC_ -e ^LANG" --8<---------------cut here---------------start------------->8--- $ eval $CMD LC_CTYPE=en_GB.utf8 $ echo '\directlua{os.execute"'$CMD'"}' | context --pipe | grep -e LC_ -e LANG *LC_COLLATE=C LC_CTYPE=C LC_NUMERIC=C <*> ...ua{os.execute"set | grep -e ^LC_ -e ^LANG"} --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- $ eval $CMD LANG=en_GB.utf8 LC_CTYPE=en_GB.utf8 $ echo '\directlua{os.execute"'$CMD'"}' | context --pipe | grep -e LC_ -e LANG *LANG=en_GB.utf8 LC_COLLATE=C LC_CTYPE=C LC_NUMERIC=C <*> ...ua{os.execute"set | grep -e ^LC_ -e ^LANG"} --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- $ eval $CMD LANG=en_GB.utf8 LC_ALL=en_GB.utf8 LC_CTYPE=en_GB.utf8 $ echo '\directlua{os.execute"'$CMD'"}' | context --pipe | grep -e LC_ -e LANG FontForge does not support your encoding (utf8), it will pretend the local encoding is latin1 FontForge does not support your encoding (utf8), it will pretend the local encoding is latin1 *LANG=en_GB.utf8 LC_ALL=en_GB.utf8 LC_COLLATE=C LC_CTYPE=C LC_NUMERIC=C <*> ...ua{os.execute"set | grep -e ^LC_ -e ^LANG"} --8<---------------cut here---------------end--------------->8--- So, whatever the original enviroment is, context and/or luatex sets LC_COLLATE=C LC_CTYPE=C LC_NUMERIC=C -- Peter ___________________________________________________________________________________ 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 ___________________________________________________________________________________