|
Windows XP Problem solving for the Windows XP Operating System |
|
Topic Tools |
#1
|
|||
|
|||
Cross platform text editor
Ok so I have been working on a project in C language and at my work place I have been using Linux Fedora. Sometimes I work from my home and my PC has Windows XP installed on it. It seems I can open the text files on my Windows system that were created on the linux machine, I can edit them and reopen on Linux platform but I cannot open the text files created on Windows XP. I have been using Wordpad in windows XP. Now what I would like to know if there is some cross platform text editor which allows you to create text files in Windows XP that can be easily read using standard text editors like GEdit on Linux. I cannot install any thing on my office machine because of some security constraints.
|
#2
|
||||
|
||||
Probably you are having trouble with ends of lines. Windows, Mac and Unix use different ASCII characters to represent the end of a line:
Unix/Mac OS X+: LF (ASCII symbol 0x0A) Other Mac OS: CR (ASCII 0x0D) DOS/Windows: both CR and LF So what you really need is a text editor that can recognize the different new line codes. A good programmer's text editor is PSPad, it can easily handle all 3 types. When you open it, down the bottom it will say DOS. Clicking on this will cycle through DOS, UNIX and MAC for the different types. You can also select the type from the Format menu. |
#3
|
|||
|
|||
Quote:
|
#4
|
||||
|
||||
Yes, as long as you change the newline type to UNIX. Plain ASCII text (like C/C++ source code) should otherwise have no problems being read on any system. That's why I'm sure that's the problem, because nothing else is different with the way text files are read/written.
|
Bookmarks |
«
Previous Topic
|
Next Topic
»
Topic Tools | |
|
|
Similar Topics | ||||
Topic | Topic Starter | Forum | Replies | Last Post |
Ubuntu Text Editor | airwolf09 | Linux | 2 | September 5th, 2011 10:16 PM |
Text Editor? | KozyKitten62 | Windows XP | 2 | March 14th, 2005 04:00 AM |
Wrapping Text in Text Editor -- How? | Delphi123 | Applications | 0 | June 30th, 2004 05:26 AM |
All times are GMT +1. The time now is 11:15 AM.