Cells with accent are truncating

When I insert an accented text in a cell, it is being trucated at the first character accented. Ex: If I try to insert the text "Trópia", only "Tr" is inserted.

The sample 01simple.php has an accented text being inserted in a cell and it works! The only difference is that 01simple.php is at a folder "Tests" at the same level of "Classes" folder and my program is not in a folder at the same level
of "Classes" folder (and cannot be!).