Removing unnecessary encoding setting