Solve the garbled code of the file under git clone

git clone garbled

  neg git:(master)  head neg.0.txt
 3 ..


  neg git:(master)  file neg.0.txt
neg.0.txt: ISO-8859 text, with CRLF, CR line terminators
-sharp 
  neg git:(master)  iconv -f ISO-8859-1 -t UTF-8 neg.0.txt
 3 ..

Note: is there a solution to the local Mac system ?


the code shown in file is not allowed to use gbk to solve

.

  neg git:(master)  iconv -f gbk -t UTF-8 -s neg.0.txt
 3 ..

Menu