From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17756 Path: main.gmane.org!not-for-mail From: Henning Hraban Ramm Newsgroups: gmane.comp.tex.context Subject: Re: function that purges 8 bit text? Date: Thu, 6 Jan 2005 14:17:30 +0100 Message-ID: <5175D39F-5FE5-11D9-8818-0030659899AA@fiee.net> References: <41DD2773.1040602@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1105017570 20185 80.91.229.6 (6 Jan 2005 13:19:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Jan 2005 13:19:30 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 06 14:19:21 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CmXXt-0001dk-00 for ; Thu, 06 Jan 2005 14:19:21 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0CE1512797; Thu, 6 Jan 2005 14:19:21 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30052-08; Thu, 6 Jan 2005 14:19:20 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7750112792; Thu, 6 Jan 2005 14:17:33 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 133DF12792 for ; Thu, 6 Jan 2005 14:17:32 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30086-02 for ; Thu, 6 Jan 2005 14:17:31 +0100 (CET) Original-Received: from moutng.kundenserver.de (unknown [212.227.126.171]) by ronja.ntg.nl (Postfix) with ESMTP id 54F5D12775 for ; Thu, 6 Jan 2005 14:17:31 +0100 (CET) Original-Received: from [212.227.126.208] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CmXW7-0003rS-00 for ntg-context@ntg.nl; Thu, 06 Jan 2005 14:17:31 +0100 Original-Received: from [83.77.18.59] (helo=[192.168.1.3]) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1CmXW7-0002V6-00 for ntg-context@ntg.nl; Thu, 06 Jan 2005 14:17:31 +0100 In-Reply-To: <41DD2773.1040602@wxs.nl> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.619) X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:033f42bdb3cd4a3c9b0966e414a370c7 X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17756 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17756 Am 06.01.2005 um 12:56 schrieb Hans Hagen: >> Is there a possibility to strip all invalid chars from a string, so=20= >> that >> \SkillField{Erz=E4hlen}{0} can define a field named "Erzaehlen" or=20 >> "Erzhlen" or "Erzahlen"? > > just make me s small test file > there is lots of sanitizing code/trickery out there, but need a simple=20= > self contained example Hm, it doesn't really have anything to do with my application (defining=20= widget fields), so... \starttext \def\MyIndex#1{\index[\CLEAN{#1}]{#1}} \MyIndex{=C4tsch} % should expand to \index[Atsch]{=C4tsch} or=20 \index[Aetsch]{=C4tsch} \stoptext Gr=FC=DFlis vom Hraban! --- http://www.fiee.net/texnique/ http://contextgarden.net=