changing utf to locale