From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/114621 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thangalin via ntg-context Newsgroups: gmane.comp.tex.context Subject: Typesetting unicode characters Date: Wed, 30 Mar 2022 00:32:11 -0700 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1206010743364580712==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4796"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Thangalin To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 30 09:33:06 2022 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nZSpG-0000zo-1L for gctc-ntg-context-518@m.gmane-mx.org; Wed, 30 Mar 2022 09:33:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 31C7428990E; Wed, 30 Mar 2022 09:32:31 +0200 (CEST) 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 LE5fpUoAe12P; Wed, 30 Mar 2022 09:32:29 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 208E0289901; Wed, 30 Mar 2022 09:32:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8BBE4289901 for ; Wed, 30 Mar 2022 09:32:26 +0200 (CEST) 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 97s_IlQr-KZH for ; Wed, 30 Mar 2022 09:32:25 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.216.47; helo=mail-pj1-f47.google.com; envelope-from=thangalin@gmail.com; receiver= Original-Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 84857281301 for ; Wed, 30 Mar 2022 09:32:25 +0200 (CEST) Original-Received: by mail-pj1-f47.google.com with SMTP id mr5-20020a17090b238500b001c67366ae93so1259006pjb.4 for ; Wed, 30 Mar 2022 00:32:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=Br60GM+uNdoIVjU8jhby04kPlxaWnFijR3Sku45cnLc=; b=PD2dDki0dqjZKywbMPdqWNlHrL0B0B+Ku09eXS9SogK3DVXsWpHvHGDiy2dt9Ns8Y5 xPl5U6UlEE9JmR2FCTLrKoM7awmYOKSvTNFPaw0deydB89wX+lnirKMPw7gF1uDOfsr9 BtoEZjPeFvYqOFTw/B6HzQfl/BySahD+cEYqy2K9kTZCqJuI2QZhYL3vMJEqjC66/O77 zpy1ucY8lLcK7Djogl8EDtOHuf7mjvWgA+CzI3XBn8yknjZp8JUhQjwqRDecVQwiDna3 KTmIf21WY6hzlBdfhC2lJz3QCp4rAG+wbS2rHpjw2BjLtJnrYabOH0K59nCuEBfodYRB InPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Br60GM+uNdoIVjU8jhby04kPlxaWnFijR3Sku45cnLc=; b=SphH8tmT93PrJBdFi92ZIrvt8xS21KKaENiffEMYvsWxbmbmfWcR8xb7YGNCJf63sr Fq4EUCCK+QWvN/KdN/S4FcUwrKpV3FX+VTp8Fp4zloLPYSXn1OCw7TeG5OwG5zQIYCC9 JFZOoRYbu4lOug4dGClGJxPQudYadmGUv3kQ6S+wPUDzd796vklN420NiqynE536qAlm EZeXqtuezP2o1e8d/kFvhxXvOSB2f+eP1GiyBn3+RK2KYQWYDrJknOp9IOQuF/GlfE8z BpSFcnoadBQeEB4D/LJxcJpj5v7cSuNb0OaM8HN4df4C237hjugylLN4abTb/9YkIf3k M79A== X-Gm-Message-State: AOAM531SfizA4q+9HS5Q0U0LhFQcPlqK3gxH1Fx9vuU+Rj/1Mdl7apkj E5uN2pviqpaeZc80bjbqUuD8Cayy9TyP6KWeSJody4A8YXo= X-Google-Smtp-Source: ABdhPJzO4z1I4UuihdDqAoR/In0q23ckw719TYO7KdO1h+8drcI6eHGz4ZGdG5Vai12nxudpEcLGG1iJWA7whx8lPPk= X-Received: by 2002:a17:90b:3882:b0:1c6:7cf9:8a23 with SMTP id mu2-20020a17090b388200b001c67cf98a23mr3452805pjb.21.1648625542196; Wed, 30 Mar 2022 00:32:22 -0700 (PDT) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:114621 Archived-At: --===============1206010743364580712== Content-Type: multipart/alternative; boundary="000000000000cf72ee05db6a8b49" --000000000000cf72ee05db6a8b49 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi list, An XML document includes the =F0=9F=91=8D emoji, as shown in the following = snippet:

Thumbs up emoji: ��

The document is typeset using ConTeXt, but the thumbs up emoji isn't in the PDF. Neither Noto Emoji nor Open Sans Emoji fonts will render. Does anyone have a minimal example that shows how to typeset such escaped entities? When the emoji is added directly to a document, it works fine: \definefont [TextFontEmoji] [opensansemoji] \starttext \TextFontEmoji{Thumbs up emoji: =F0=9F=91=8D} \stoptext Is there something special that needs to be set for ConTeXt to interpret the escaped unicode values as an emoji? Thank you! --000000000000cf72ee05db6a8b49 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi list,

An XML document inc= ludes the =F0=9F=91=8D emoji, as shown in the following snippet:
<= div>
<html>
=C2=A0 <head><meta charset=3D&q= uot;utf8"/></head>
=C2=A0 <body>
=C2= =A0=C2=A0=C2=A0 <div class=3D"bubblerx">
=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 <p>Thumbs up emoji: &#55357;&#56397;</p>= ;
=C2=A0=C2=A0=C2=A0 </div>
=C2=A0 </body
</html>

The document is typeset using Con= TeXt, but the thumbs up emoji isn't in the PDF. Neither Noto Emoji nor = Open Sans Emoji fonts will render.

Does anyone= have a minimal example that shows how to typeset such escaped entities?

When the emoji is added directly to a document, it w= orks fine:

\definefont [TextFontEmoji] [opensansemo= ji]

\starttext
=C2=A0 \TextFontEmoji{Thumbs up emoji: =F0=9F=91= =8D}
\stoptext

Is there something special = that needs to be set for ConTeXt to interpret the escaped unicode values as= an emoji?

Thank you!
--000000000000cf72ee05db6a8b49-- --===============1206010743364580712== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============1206010743364580712==--