## LaTeX forum ⇒ Fonts & Character Sets ⇒ Accents not showing even with UTF8

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
LorenzoM
Posts: 8
Joined: Thu Mar 01, 2018 8:02 pm

### Accents not showing even with UTF8

Hello!
As I am Italian, I gotta write using some accented letters (è, à, ì, etc.). However, I can't figure out why they do not come out after I compile the file.
I have downloaded MacTeX as I have a MacBook (can't remember the precise name, guess it's a MacBook Air), and I use TexShop for writing the codes.
I was just trying to have some simple experiments just to get acquainted with this software. So, I decided to write in Italian, and the code I wrote is as follows:

\documentclass[a4paper]{article}\usepackage[T1]{fontenc}\usepackage[utf8]{inputenc}\usepackage[italian]{babel}\begin{document}Allora è così?\end{document}

When I try to compile the document, however, it shows me the following error page in the log:

./Senza-titolo.tex:6 Package inputenc Error: Unicode char èco (U+DA)
(inputenc) not set up for use with LaTeX

See the inputenc package documentation explanation.

I really can't see where the problem is... I tried it in every manner, and I even saw that others had no problem using the [utf8]{inputenc} package... Have I forgotten something? Have I not downloaded something?

Stefan Kottwitz
Posts: 9388
Joined: Mon Mar 10, 2008 9:44 pm
Hi Lorenzo!

This code works for me without problems, on a Macbook Pro with MacTeX 2017.

Stefan

LorenzoM
Posts: 8
Joined: Thu Mar 01, 2018 8:02 pm
Hi, I dunno how to post it here...
I can post pictures of it tho

Just for the sake of clarity, you, too, are using TexShop, right?
Anyways, thank you.

nlct
Posts: 275
Joined: Thu Nov 06, 2008 11:15 am
Unicode char èco (U+DA)

The character è has the Unicode value U+00E8. The error message shows U+DA, which suggests that the file has been saved with the wrong encoding. You need to configure TeXShop to use UTF-8. See, for example, TeXShop doesn't remember file encoding.

Regards
Nicola Talbot

Courtney McDaniel
Posts: 7
Joined: Mon Apr 16, 2018 11:04 am
Honestly, I was already planning to stop working with MacBook cuz, the font problems were encountered too often ...But now everything OK