?
Solved

Text file viewing format is not recognizing line feed character

Posted on 2008-06-13
1
Medium Priority
?
577 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

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

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

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…

762 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