Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Admin,
I have a problem, I successfully converted my textfile created in linux (eg. Gedit) to windows notepad.. the format were the same, but I noticed that there is a 2 spaces before the texts and the texts were indented. Please help me.
Currently I'm working on iReport(jasperSoft) software and converting web data to textfile.
bhEsquivel -- you do know that MS windows "notepad " was nice in win95
it was ok in win98
should have been replaced in xp
should NOT have been in vista
and a windows 95 program has NO BUSINESS in win7
The problem is the convention used to identify a newline in a text file. Usually UNIX/Linux has a different 'convention' from Windows...
Some know about both 'conventions' (like wordpad) and display the text properly, some know just their 'convention' (like notepad) and you need to take care of the transformation yourself (dos2unix/unix2dos).
"unix2dos" is certainly one solution.
Perhaps the EASIEST approach, however, is to read the file in Wordpad (where it displays correctly), then SAVE it from Wordpad.
Saving from Wordpad will convert the file for you. It should then be "correct" in notepad, too
'Hope that helps .. PSM
PS:
It *does* display correctly for you in Wordpad, doesn't it? The original thread was from a couple of years ago; I'm not sure it all necessarily applies to your scenario.
Actually what I need is to convert it right away to a windows text file format.
If using Wordpad would be the solutions, I think that would not be possible for my case,
because what I'm working is a conversion of web data to text file, and the user of that web is my client in Philhealth, I thnk I could not suggest them to use wordpad, becuase that would take time.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.