I need a text editor on mac that could open arbitrary file and show its content.
Edit: I dont want to "decode" the files, I just want to read them byte by byte, as they are sitting on the filesystem, just like fopen() in c. (No parsing!) Is there any editor that can do that?
For example, I want to open "test.pages" file, because I am curious. Textedit denied to open it, textWrangler opened it in disk browser. TextMate did open it , showing first 2 characters as PK, (which i understand as a packed file), but it showed lots of special characters as white spaces, which is not acceptable.
Notepad (or any XYZ editor on windows) could open arbitrary files, without ever complaining about "format".
Best Answer
This seems to be the job for a hex viewer/editor rather than a text editor. An easy way to do this would be just to use Terminal emacs with hex mode.
If you prefer a GUI application Hex Fiend looks promising