I am using Texpad 1.7.42 (Desktop, not cloud or iOS), to edit locally TeX documents produced originally in the cloud (on Overleaf). My documents contain many Unicode characters, and use XeLaTex with fontspec
loaded.
This is the document I produced in Overleaf:
\documentclass{article}
\usepackage{fontspec}
\setmainfont{Times New Roman}
\begin{document}
Résumé
\end{document}
When I download the .tex
file, and open it in Texpad, Texpad transforms
Résumé
into
Résumé
(The rest of the file is unchanged, and it compiles without issue)
Texpad's support documentation acknowledges an issue with unicode characters, and their recommendation is to insert:\usepackage[utf8]{inputenc}
. However, as I am using fontspec
, inputenc
has no effect, and inserting it into my MWE changes nothing.
Similarly, this solution given for a similar problem in TexShop (inserting % !TEX encoding = UTF-8 Unicode
) doesn't work.
Is there any way to use Unicode characters along with XeLaTeX and fontspec
in Texpad?