ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Ulrike Fischer <news3@nililand.de>
To: ntg-context@ntg.nl
Subject: faulty to unicode mapping of chars encoded with surrogate pairs?
Date: Wed, 8 Aug 2018 12:13:48 +0200	[thread overview]
Message-ID: <1oyv64a4ucd25$.dlg@nililand.de> (raw)

when I compile the following with context

\pdfvariable compresslevel=0
\starttext
$f$
\stoptext

I get in the pdf

1 beginbfchar
<0515> <D875DC53>
endbfchar

D875DC53 is according to
http://www.russellcottrell.com/greek/utilities/surrogatepaircalculator.htm
the codepoint 2D453 and this is not a valid unicode point. As a
result copy& paste doesn't work correctly.

A similar example with xelatex writes  D835DC53 (remark the 3
instead of the 7) instead in the pdf which gives the correct code
point 1D453 and copies fine.

lualatex gives the faulty value too. 
 


-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2018-08-08 10:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-08 10:13 Ulrike Fischer [this message]
2018-08-08 12:15 ` Hans Hagen
2018-08-08 12:49   ` Ulrike Fischer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='1oyv64a4ucd25$.dlg@nililand.de' \
    --to=news3@nililand.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).