Solved

Text file viewing format is not recognizing line feed character

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Uniden UDW20055 3 113
Netbeans and org.apache.commons.lang3 issue 3 51
SCOM logon account permissions? 1 36
Disk clean up on Server 2012 R2 6 72
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
When we purchase storage, we typically are advertised storage of 500GB, 1TB, 2TB and so on. However, when you actually install it into your computer, your 500GB HDD will actually show up as 465GB. Why? It has to do with the way people and computers…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

738 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