Are you suggesting using ReplaceLineEndings?
--
Chris Jett
[EMAIL PROTECTED]

On Jun 7, 2006, at 11:26 AM, Marcel wrote:

Hello!
I made the same experience today: UTF-8 and -16 line endings stay, but chr(13) + chr(10) is converted...
Why don't you just convert it to what you need?
Best,
Marcel

On 07.06.2006, at 17:58, Christopher Jett wrote:

Running on OS 10.4.6, RB 2006r2

I have a shell class that I use to execute this command:

'cat /path/to/some/text/file'

This file has line endings of chr(13)+chr(10)

If I execute this command in the Terminal and direct its output to another file, I get an exact copy of the contents of the original file. Line endings and all.

However, if I execute the same thing using the Shell class, it appears that it strips out the linefeed character. When I do a countfields on chr(10), I get one when there should be about 80. If I write this to a file, I get a file with just chr(13) as a line ending.

Any ideas on why this is and what I can do to prevent this?
--
Chris Jett
[EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to