From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/102970 Path: news.gmane.org!.POSTED!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: further experiments with lua Date: Wed, 9 Jan 2019 10:44:22 +0100 Message-ID: References: <433234d1-9fda-4aea-556c-44093ef54fd1@xs4all.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4302039800936950111==" X-Trace: blaine.gmane.org 1547026957 11163 195.159.176.226 (9 Jan 2019 09:42:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 9 Jan 2019 09:42:37 +0000 (UTC) Cc: "Thomas A. Schmitz" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 09 10:42:33 2019 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ghANc-0002mM-Mp for gctc-ntg-context-518@m.gmane.org; Wed, 09 Jan 2019 10:42:32 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A27C4C8787; Wed, 9 Jan 2019 10:44:37 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qbOEgd1CaP4P; Wed, 9 Jan 2019 10:44:36 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id ECF2CC877D; Wed, 9 Jan 2019 10:44:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DB126C877D for ; Wed, 9 Jan 2019 10:44:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w7qJaDgK_oUE for ; Wed, 9 Jan 2019 10:44:35 +0100 (CET) Original-Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com [209.85.208.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 676A6C86F9 for ; Wed, 9 Jan 2019 10:44:35 +0100 (CET) Original-Received: by mail-lj1-f172.google.com with SMTP id k19-v6so5881761lji.11 for ; Wed, 09 Jan 2019 01:44:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tXI/s5w28ugtHaHZJ5eobt600o1XILPmwdDmPkSHefs=; b=pOIrgEtfue2oUe0LU6zY+qUQ5k1E/oIhLKuq69CWnjKtdNOd7TY4cCM75+1Bou/q7l UmImdmRDyasNfFBitDSnN0GcfebZRfrDDtvuw74X+AWgcPDgUX/KWJFWGlmfm299sB8b keEYxGeZG21dLJPL2+KW3gejPk9k5CnUbd2iOfF8KayR7etNnrZYfQHQxl3Tin/I5IIy ClbfOgEt7QAChTNMiOfXcz8M5rF2RGZPlsrvgHH9nA5RosQrLsK44MnHIeYcGi4adOBq kNCK228mkZV3F0dvLyW3Py5pl9nH5lhh0HqO7yl/29gHG5l+8If8UWQRSgxq/j58AZzI mAIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tXI/s5w28ugtHaHZJ5eobt600o1XILPmwdDmPkSHefs=; b=kXRkY5j+cMqiP+dhnud3GrMVWm+qjLFbT5xLw7Zid28+zi3ZQJS97vl2Go18Ka8/Pr hlyjytjS4yjwOCzK8udElok9z+qSKFCNTRjLC4MNnbJG7+dGutpj+I43puWe0MUdu+cO f44XslIdBJridYzNEtii6/WqXCsti6ohyKstx5Z7gsJFQHQY+ifRhOMGKq3sDfP/cSzk ZEKhpNb8MtLeVUebmFCtjalY8GmhNxmP2zCGPGTzf/iNwLfbcW0BluMzyYLIpAld3lTF SJKkbgb9YPWwkjPnLPpEnsRZYf0YesMN2HTf+eaJN2nZuWleoEiYjDl+L/JEMFKMKYuh 1VnA== X-Gm-Message-State: AJcUukc8gy1bePGDFA4oRFZ90uvQ4uvKv6l2O87FovuMibTM55WqPQFd R6btcYVgqfsRasei7PkUObHOCFPnbctARr3OAUxh4nq2 X-Google-Smtp-Source: ALg8bN76k2sqbz64k4/BVprrUYIRX/V+y6se9837hGF9bStwH0luIjcgcZRggyomK9VZKkI1l/XxAffVZupApY5Ehyc= X-Received: by 2002:a2e:9a16:: with SMTP id o22-v6mr2954812lji.112.1547027074277; Wed, 09 Jan 2019 01:44:34 -0800 (PST) In-Reply-To: <433234d1-9fda-4aea-556c-44093ef54fd1@xs4all.nl> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.20 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:102970 Archived-At: --===============4302039800936950111== Content-Type: multipart/alternative; boundary="0000000000003864f9057f034f52" --0000000000003864f9057f034f52 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jan 9, 2019 at 9:47 AM Hans Hagen wrote: > > so you need: > > require "char-ini" > > local s =3D "=C3=84" > > also if not characters then require("char-ini") end local s =3D "=C3=84" print(characters.uccode(s)) --=20 luigi --0000000000003864f9057f034f52 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Wed, Jan 9, 2019 at 9:47 AM Hans Hagen= <j.hagen@xs4all.nl> wrote:<= br>

so you need:

require "char-ini"

local s =3D "=C3=84"


also= =C2=A0
=C2=A0
if not characters then
=C2=A0 =C2=A0 require("char-ini")
end
loca= l s =3D "=C3=84"
print(characters.uccode(s))

--
luigi
--0000000000003864f9057f034f52-- --===============4302039800936950111== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============4302039800936950111==--