I've been working on a programming project in Notepad, so far. Today, I opened my source files in an IDE to debug one thing, and the IDE converted saved my files as binary (or so Mercurial reports, even though I can open and edit them without any problems in Notepad).

How do I convert these binary files back to ASCII, so that I can track my changes in Mercurial?

link|improve this question

79% accept rate
feedback

2 Answers

up vote 2 down vote accepted

UTF16 files considered Mercurial as "not text". Fix IDE

link|improve this answer
feedback

Quickest way I can think of is to open the file up in Notepad, click File > Save As, and change the Encoding setting.

enter image description here

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.