Solve warning about encoding