Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 16 May 2006 @ 21:10:25 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: What is ('0A'X)?
 
From:   Ray, Edmond

I believe that 0A in hex is a LineFeed (LF).

In DOS/Windows a text file row is delimited with only a CarrageReturn (CR) in hex 0D.

In Unix a text file row is delimited with CR and LF.

If you are transferring files from Unix to Windoze with FTP and you tell it to transfer in ASCII mode it will automatically strip the LF character off of each line. If you transfer the file in binary mode (the default on some systems) it will leave the LF on each line and cause what you are seeing.

Also if you do a copy and past from a Unix window on a Windows machine, sometimes it will copy the LF character into the windoze text file.

I have found using FTP to strip off the invalid characters is usually the easiest way to deal with this.

You can do it manually with something like HexEdit but it is a pain.

There are several FREE and shareware ftp tools for windoze that are very nice, such WS-FTP.


Ed Ray



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023