[Date Prev][Date Next]
[Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[New search]
To: "Stuart Burnfield" <stuartb@xxxxxxxxxx>
Subject: Re: Unknown File Type with .fm from New Zealand
From: "Thomas Michanek" <thomas.michanek@xxxxxxxxx>
Date: Sat, 3 Jun 2000 12:32:07 +0200
Cc: <framers@xxxxxxxxx>
References: <LYRIS-30000-252-2000.06.02-23.50.55--chattare#telia.com@lists.frameusers.com>
Reply-To: "Thomas Michanek" <thomas.michanek@xxxxxxxxx>
Sender: owner-framers@xxxxxxxxx
*** The original message appeared on the FrameUsers list. *** This reply is posted only to the framers@omsys.com mailing list. From: "Stuart Burnfield" <stuartb@tpg.com.au> > There's another thing that can go wrong when sending files. I doubt > it applies in your case but I'll mention it just for completeness. > If you're moving text files between Windows and UNIX, you need to > know that there's a slight difference in the 'end of line' character > used on each platform. When a UNIX text file is opened under DOS/ > Windows, Windows 'sees' an extra non-text character at the end of > each line. The rest of the file is perfectly OK but this difference > is enough for Windows to think the file is not ASCII and must be in > an unknown format. It's the other way around: Windows insists on an extra character. In ASCII text files, "end of line" is coded like this: * UNIX: Line Feed (LF) only * Windows: Carriage Return (CR) plus LF * Mac: Carriage Return (CR) only This means that when you open a text file on another platform, you may experience problems like extra characters, no line breaks, etc. It depends on how "smart" your applications are. > The fix is to use a pair of UNIX commands called unix2dos and > dos2unix. As the names imply, these convert text files from UNIX to > DOS format and vice versa. The problem with these commands is that they only work OK for 7-bit US ASCII. If you have text files with 8-bit ISO-8859 encoding (national characters), the commands convert them to the *DOS* equivalents, which is different from the Windows encoding. (Windows uses ISO encoding, DOS does not...) This last comment is just for completeness; it doesn't apply to FrameMaker files (MIF text files). - - - - - - - - - - - - - - - - - - - - - - - - - - Thomas Michanek, [Michagon], Linkoping, Sweden Documentation Consultant, FrameMaker/UNIX expert EMAIL: mailto:Thomas.Michanek@telia.com WWW: http://go.to/framers , or go directly to: http://w1.133.telia.com/~u13304072/framers - - - - - - - - - - - - - - - - - - - - - - - - - - Subscribe to Omni System's "Free Framers" list: send an email to majordomo@omsys.com with "subscribe framers" in the body ** To unsubscribe, send a message to majordomo@omsys.com ** ** with "unsubscribe framers" (no quotes) in the body. **