title: Git messed up my files, showing chinese characters in some places
body: <p>disclaimer: By Git, I mean 'I' messed up.</p>
  
  <p><a href="https://stackoverflow.com/questions/17248795/git-thinks-ini-saved-in-unicode-files-are-binary">Earlier,</a> I wanted <code>git-gui</code> to show me the <code>diff</code> for which <em>it thinks</em> are binary files.</p>
  
  <p>So I made some changes to my <code>.\.gitattributes</code></p>
  
  <pre><code>*.ini       text
  *.inc       text
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/YnmgL.png" rel="noreferrer">But it didn't work.</a> <a href="https://stackoverflow.com/questions/4735663/why-does-git-treat-some-cpp-files-as-binary">Then I made some changes</a> to my <code>.\.git\info\attributes</code></p>
  
  <pre><code>*.ini       text
  *.inc       text
  *.inc crlf diff
  *.ini crlf diff
  </code></pre>
  
  <p>and it worked. </p>
  
  <p>But now when I go back to previous commits it messes up...</p>
  
  <p><img src="https://i.stack.imgur.com/50HoF.png" alt="chinese characters">
  This is how it <em>should</em> look:
  <img src="https://i.stack.imgur.com/cLhvh.png" alt="english characters"></p>
  
  <p>It doesn't happen in all the files. <strong>EDIT:</strong> It happens only in files that have any special characters in them.</p>
  
  <p>Q: Is it the issue with the commits itself or just some setting?<br>
  Q: Can I recover?</p>