dos2unix support for file with unicode characters

390 views Asked by At

i use dos2unix to remove control-m characters, i works fine for normal text file. But for text files with unicode characters it replaces all unicode characters with junk character. Please let me know how to use dos2unix for files with unicode characters

1

There are 1 answers

1
Erwin Waterlander On

It depends which implementation and version of dos2unix you use. This implementation (http://waterlan.home.xs4all.nl/dos2unix.html) supports Unicode since version 6.0.