Example script where encoding is know a priori