File encoding: typesetting accents and other non-ASCII characters with Texpad

# Input encodings

A known problem for users migrating to Texpad from another editor is that when typesetting LaTeX throws errors related to the presence of non-ascii characters (for example é, ü and other accents).

This is usually because Texpad is set by default to use UTF-8 encoding for saving files, and users are often accustomed to older, obsolete encodings such as Latin-1 or MacOSRoman. To make LaTeX typeset correctly please replace any old inputenc or fontenc lines with the appropriate UTF-8 line.

\usepackage[utf8]{inputenc}

# Changing Texpad to a non-UTF-8 encoding

If you have a large collection of TeX files files in a legacy encoding, then you may wish to swap Texpad to the older encoding rather than converting the files to the up to date UTF-8 encoding. To do this, close all files and navigate to the menu on macOS, or Editor Preferences,Encoding on iOS and choose the encoding corresponding to your files.

You will need to find the correct encoding from the preferences in your previous editor, common choices are

• Mac OS Roman if you are migrating from an macOS LaTeX editor such as TeXShop
• WinLatin1 if you are migrating from a Windows LaTeX editor

# Font encodings

Please note that often you need to specify the font(output) encoding as well as the input encoding.

\documentclass{article}
\usepackage{german}
\usepackage[T1]{fontenc}
\begin{document}
äöüÄÖÜ Hallo
\end{document}