[luatex] accented characters in plain luatex

Mojca Miklavec mojca.miklavec.lists at gmail.com
Thu Apr 14 21:06:22 CEST 2011


On Thu, Apr 14, 2011 at 18:23, Bob Tennent wrote:
>  >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.
>
> The editor is vim. Rather than figure out how to save in UTF-8

<open the file in latin1 encoding in the same way as you did before>
:set fileencoding utf-8
:w or :wq

But even better to put "set encoding=utf-8" on top of .vimrc.

Mojca



More information about the luatex mailing list