Solved

Text file viewing format is not recognizing line feed character

Posted on 2008-06-13
1
574 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
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I previously wrote an article addressing the use of UBCD4WIN and SARDU. All are great, but I have always been an advocate of SARDU. Recently it was suggested that I go back and take a look at Easy2Boot in comparison.
The business world is becoming increasingly integrated with tech. It’s not just for a select few anymore — but what about if you have a small business? It may be easier than you think to integrate technology into your small business, and it’s likely…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

830 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