Fix LaTeX error utf8.def not found in inputenc.sty

For various reasons, such as moving files between case-insensitive filesystems (HFS+, exFAT, FAT) to case-sensitive filesystems (Ext, NTFS, APFS), you might find LaTeX documents failing to build due to inability to find required files. This is an issue with other programs as well, but here we focus on LaTeX.

In this case, many people have copy/pasted near the top of their LaTeX document to enable UTF8

\usepackage[UTF8]{inputenc}  % don't use capitals!

This will cause error

UTF8.def not found from inputenc.sty

To fix this error, use

\usepackage[utf8]{inputenc}

Since the package expects lowercase specification on case-sensitive systems.

Tags:

Categories:

Updated:

Leave a Comment