encoding detials