fixed Win Vs MAC UTF issues