Fix bug encodage.