<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 21 February 2016 at 08:15, Dirk Laurie <span dir="ltr"><<a href="mailto:dirk.laurie@gmail.com" target="_blank">dirk.laurie@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If the document contains certain UTF-8 characters, e.g. an em<br>
dash, and the font does not have them, the characters are not<br>
displayed. Some tools give a warning message, some even abort<br>
with an error.<br>
<br>
In many cases lualatex can get around this if you say<br>
\usepackage[utf8]{luainputenc}.<br>
<br>
<br>
What does one do in plain luatex?<br>
</blockquote></div><br><br clear="all"></div><div class="gmail_extra">using luainputenc (and so disabling luatex's support for utf8) is hitting the missing character<br></div><div class="gmail_extra">with a very large sledgehammer.<br><br></div><div class="gmail_extra">In luatex you could use the virtual font support to essentially add the missing characters as virtual entries or just use the classic tex technique of active characters.<br><br></div><div class="gmail_extra">\catcode"2014\active<br></div><div class="gmail_extra">\def^^^^2014{whatever you want to fake a dash with}<br><br></div><div class="gmail_extra">David<br><br></div></div>