|
#1
| |||
| |||
| Analyzing text-files (line-ending etc.)
I'm trying to figure out the specifics of an application's text-file taken from a PC which seems a bit more complex than the standard CR/LF line ending and WindowsLatin1 character encoding. Is there a MacOSX tool which allows me to analyze text files? That is, a tool which I use to open a text file and will then tell me what kind of line-ending is used, character encoding and other platform specific stuff? |
|
#2
| |||
| |||
|
How about using a hex editor? That will show the hexadecimal numbers for all the characters including end-of-line.
|
|
#3
| |||
| |||
|
Since Emacs works in several environments, it has quite good a support for line endings. I guess there are several versions for Mac, but I prefer Carbon Emacs. If the normal edit mode is not enough, you can select hexl-mode to use Emacs as a hex editor.
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|