Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Text file viewing format is not recognizing line feed character

Posted on 2008-06-13
1
Medium Priority
?
578 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 1500 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
Article by: evilrix
Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data defin…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

610 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