1

I used Atom to edit some PO translation files for the Neovim project, but when I saved the files, Atom changed a bunch of other lines (which I did not edit) in each file.

You can see the results in this commit. Basically each translation file has 5-10 other lines that git says are also changed.

I'm guessing there was some kind of encoding issue, can anyone provide a more detailed explanation?

Also, how do I edit these files without messing with the encoding?

Jeff Widman
  • 22,014
  • 12
  • 72
  • 88
  • So you had troubles using editor a to edit source files for editor n and you tag your question with editor v. You are right, why make it simple when we can make it complicated? – romainl Oct 24 '14 at 09:49
  • Sorry, an earlier version of the question asked if Vim would cause the same problem, I simplified the question and forgot to delete the vim tag – Jeff Widman Oct 24 '14 at 09:53
  • Atom strips trailing whitespace by default, this includes blank lines that are indented. Is this what is happening? – Matt Jan 06 '15 at 19:03
  • No--check the commit and you'll see that it was non-standard characters that were changing, not whitespace. – Jeff Widman Jan 06 '15 at 21:09

0 Answers0