Text editors written for M$ Windows almost universally assume that all documents are written in M$ Windows. However some documents are in fact written on Linux systems, Macs and whathaveyou. Linux systems store ASCII files (which is what data files for Dom3 are) somewhat differently than Windows does and most editors simply don't recognize the difference. I recommend the free software found here:
http://jsimlo.sk/notepad/