test encodage