test encoding fix