28 February 2013, 04:55 | #1 |
Zone Friend
Join Date: Jul 2005
Location: Toronto, Canada
Posts: 734
|
removing extra characters from windows text files
I was wondering if there was a little program that would convert windows text files to amiga. The windows text files when loaded into ced has extra line feeds and a rectangular character at the end of the text line. Is there anything out there that would remove them, or is there something I should be doing on the windows side to remove the characters.
Thanks |
28 February 2013, 05:57 | #2 |
Zone Friend
Join Date: Jun 2005
Location: Warsaw/Poland
Age: 45
Posts: 2,427
|
I always remove this extra character using REPLACE function. I just copy the character from the end of the line and paste it into the REPLACE window. The character and extra line feed should disappear.
|
28 February 2013, 06:37 | #3 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
|
|
28 February 2013, 10:27 | #4 |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,624
|
yes, as mailman says, you can remove them using ced's replace operation.
|
28 February 2013, 11:20 | #5 | |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,985
|
Quote:
If Ctrl-M does not give a character, run Prefs/IControl and disable Text Gadget Filter. In CED V5 you can select File -> End-of-line Translation from the menu. |
|
28 February 2013, 12:26 | #6 | |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
Quote:
Notepad++, Programmer's Notepad, Ultraedit and Sublime Text are some good editors that should be able to do this. |
|
28 February 2013, 14:43 | #7 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,644
|
I use Notepad++ on my PC and it can remove all that garbage. Just set it to show LFs and replace them with emptiness. Works great.
It's a fantastic free program everyone should have. |
28 February 2013, 15:17 | #8 |
HOL/FTP busy bee
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,518
|
|
08 March 2013, 01:43 | #9 |
Zone Friend
Join Date: Jul 2005
Location: Toronto, Canada
Posts: 734
|
Thanks for all the replies. This has always been a pain for me. I am going to see if I can get the Ced trick to work. I have version 5 installed.
Thanks again. This site is great for the amiga community. |
08 March 2013, 10:29 | #10 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,644
|
|
26 October 2014, 02:38 | #11 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,751
|
There's a MUCH better way: Make a macro. You can save macros and they'll be loaded automatically when you start Ced. Do this once, and never be bothered by this problem again!
First load a text so that you can see that it works. Then do: 1) right amiga+m (starts macro input) 2) press the key you want to assign the macro to, I use F10 for this macro. 3) ctrl+up (moves to start of file) 4) right amiga+b (block mark mode) 5) ctrl+down (move to end of file) 6) enter menu -> Cut/Paste -> Strip CR marked 7) ctrl+up 8) right amiga m (ends macro input) 9) Save the macro: Enter menu -> Global -> Macro definitions -> Save definitions. Use the default name (cedmacros). That's it. Now whenever you load a windows ascii text, just press F10 (or whatever you picked), and the text will be converted to Amiga format. Edit: Hmm, this is an old thread... Thought it was a new post |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Windows text to AmigaBasic ? | Angelsoft | New to Emulation or Amiga scene | 9 | 24 October 2011 21:31 |
Bug: Filenames containing national characters in Windows Directories | arnljot | support.WinUAE | 17 | 17 December 2009 12:19 |
Completely Removing IDE-FIX Express Files | illy5603 | support.Hardware | 2 | 15 August 2009 02:11 |
Removing write protection from files | NovaCoder | New to Emulation or Amiga scene | 1 | 29 November 2008 04:37 |
NOTE: You can't use DMS files with names longer than 18 characters! | andreas | support.WinUAE | 2 | 07 July 2002 02:22 |
|
|