Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

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

share|improve this answer

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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