# Problem with TeXShop and UTF-8 when cloning from git [closed]

My team has the following worflow: we host a git repository on Assembla.com. In that repository, there is a `.tex` file with the following enconding set: `\usepackage[utf8x]{inputenc}`.

The problem is I can't see diacritical marks correctly (whether in TeXShop or in the console). It seems to be unrelated to TeXShop, as I can edit the file typing the same diacritical marks, save the file and open it again.

What can cause this problem (can it be git converting some characters when cloning the repository)?

-
are you sure that the file is utf8 encoded? – David Carlisle Nov 12 '12 at 22:55
Yes, I its shows correctly when I open .tex online, on Assembla. – REACHUS Nov 13 '12 at 0:10
heve you set TexShop to utf8? At least under Leopard this is mandatory. (TS -> Preferences -> Source). Check correct encoding with `file` (commandline). – bloodworks Nov 13 '12 at 9:24
Yes, I've set TeXShop to UTF-8. The `file -I` command returns: `text/x-tex; charset=utf-8` – REACHUS Nov 13 '12 at 14:45

## closed as off topic by tohecz, egreg, Joseph Wright♦Jan 5 at 21:40

Questions on TeX - LaTeX Stack Exchange are expected to relate to TeX, LaTeX or related typesetting systems within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.