ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Manfred Lotz <manfred.lotz@arcor.de>
To: ntg-context@ntg.nl
Subject: Unicode question
Date: Thu, 12 Mar 2015 08:48:27 +0100	[thread overview]
Message-ID: <20150312084827.6683072a@arcor.com> (raw)

Hi all,
If I run this minimal example

\starttext

�

\stopluacode

\stoptext


I get

tex error       > error on line 3 in file /data/tmp/u1.tex: ! String
contains an invalid utf-8 sequence

and some more lines.


The character above is:

  Character: �
   Character name: REPLACEMENT CHARACTER
        Charblock: Specials
         Category: Other symbol
          Unicode: U+fffd
             UTF8: 0xefbfbd

which is a valid utf8 character.

Questions:

1. Why is it considered to be invalid?

2. Are there other valid utf8 characters which are considered invalid?


Just wanting to understand.


-- 
Manfred


___________________________________________________________________________________
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
___________________________________________________________________________________

             reply	other threads:[~2015-03-12  7:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-12  7:48 Manfred Lotz [this message]
2015-03-12 15:41 ` Ulrike Fischer
2015-03-12 16:35   ` Arthur Reutenauer
2015-03-12 18:08     ` Manfred Lotz
2015-03-12 19:04       ` Hans Hagen
2015-03-12 17:57   ` Manfred Lotz
2015-03-12 18:55     ` Hans Hagen
2015-03-12 20:41       ` luigi scarso
2015-03-12 20:52         ` Hans Hagen

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=20150312084827.6683072a@arcor.com \
    --to=manfred.lotz@arcor.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).