conver to unix encoding