Hi,
I was trying to dos2unix a file that has some special characters but dos2unix converted those into different format. I am working on sun server.
I guess the default for dos2unix on sun server is ISO format .
Can i change the format so that it does the conversion in UTF format?
Because I think these characters are not covered in ISO format.
e.g.
Orig :
LCA;PZ0;CIRC;1035561;1;Main;1;2;FSC;DEFAUT;0.55� min:main
Changed after dos2unix :
LCA;PZ0;CIRC;1035561;1;Main;1;2;FSC;DEFAUT;0.55� min:main
Orig :
LCA;PZ0;CIRC;2070814;1;ILMV0711;1;2;GIL;DEFAUT;Tarif D�die F&F Monoprix
Changed after dos2unix :
LCA;PZ0;CIRC;2070814;1;ILMV0711;1;2;GIL;DEFAUT;Tarif D\211die F&F Monoprix
Kindly help..
Regards
Abhinav
---------- Post updated at 12:35 PM ---------- Previous update was at 11:16 AM ----------
to replace/substitute dos2unix , I also tried:
perl -pe 's/\cM//'
but it is removing the euro sign from the file..
like
Orig :
LCA;PZ0;CIRC;1035561;1;Main;1;2;FSC;DEFAUT;0.55� min:main
Changed :
LCA;PZ0;CIRC;1035561;1;Main;1;2;FSC;DEFAUT;0.55 min:main
else everything is fine with this.
don't know how to handle it.