image
image

Go Back   macosx.com > Mac Help Forums > Switchers (Windows to Mac Converts)

Reply
 
Thread Tools
  #1  
Old September 11th, 2007, 08:39 AM
Registered User
 
Join Date: Sep 2006
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
tigrr is on a distinguished road
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?
Reply With Quote
  #2  
Old September 11th, 2007, 03:08 PM
Registered User
 
Join Date: Aug 2006
Posts: 238
Thanks: 0
Thanked 1 Time in 1 Post
Curiosity is on a distinguished road
How about using a hex editor? That will show the hexadecimal numbers for all the characters including end-of-line.
Reply With Quote
  #3  
Old September 11th, 2007, 03:43 PM
Registered User
 
Join Date: Mar 2005
Posts: 199
Thanks: 0
Thanked 1 Time in 1 Post
artov is on a distinguished road
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.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 04:18 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.