Solved

Text file viewing format is not recognizing line feed character

Posted on 2008-06-13
1
576 Views
Last Modified: 2012-05-05
When I view the file. The columns are distorted. However, when I print the file it  prints the correct format. In otherwords, the columns lineup and it recognizes the line feed for each line when printing but not when viewing on the screen. Any suggestions. It is causing problems for my users because the only tool that they use to view the file with is Notepad?

Any suggestions would be greatly appreciated.
0
Comment
Question by:Laballa1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

by:
gnurl earned 500 total points
ID: 21791396
Hi

I think this prolbem is, because you get this file from a mainframe (unix based?)

Unix usesd <lf> (line feed) to sign the end of a line. Windows uses <cr><lf> (carriage return + line feed) to sign the end of a line.

Normally there should be the tool unix2dos or so available at your mainframe which you can use to convert then end of the lines to standard windows format ...

An other way would be that your users use Microsoft wordpad (or an other editor (i.e. notepad++ http://notepad-plus.sourceforge.net/uk/site.htm) to view (or convert) the file.

Good luck
gnurl
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
The question appears often enough, how do I transfer my data from my old server to the new server while preserving file shares, share permissions, and NTFS permisions.  Here are my tips for handling such a transfer.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question