get encoding fix