encoding gix