populate encoding