[luatex] accented characters in plain luatex

Arthur Reutenauer arthur.reutenauer at normalesup.org
Thu Apr 14 18:00:13 CEST 2011


> Attached.

  It is indeed in ISO-8859-1 (a.k.a. latin-1).  You need to tell your
editor, whatever it is, to save the file in UTF-8.  In this case I
suppose the original file was in latin-1, so you need to convert it if
you want to compile it using LuaTeX.

  Note that there is a package called luainputenc that purports to do
the same job as inputenc does for LaTeX / pdfLaTeX, that is dealing with
different text encodings (and luainputenc also works with the plain
format).  Depending on your actual project, you might want to use it or
not: if you have existing files using encodings different than UTF-8, it
can make sense to use on-the-fly conversion; if you're using LuaTeX for
a new project, it would be much better to start off in UTF-8 from the
beginning, because that's what LuaTeX can process directly -- and for
many other reasons.

	Arthur


More information about the luatex mailing list