Reading Amiga text files on a PC?

Miscellaneous Forums/General Discussion/Reading Amiga text files on a PC?

Is there a simple way of reading Amiga text files on a PC? They all seem to come out all garbled when using something like notepad. i.e. wrong formating. There seems to be two files for each text file. The file itself and a .info one.

Any help would be great. Thanks very much.

Jason.

Paste contents into new email - email to yourself - read the email - touch your Large.

i.e. wrong formating

I take it that you can read the text?
If you can then it's in ASCII.It would then be just a case of writting a small program to convert the amiga file formatting into pc if you can find a copy of the Amiga ASCII character set. Don't for get to allow for any head information.

If it's in 2 files, it aint ASCII.

My mother said to email it to himself.

Have a look at this http://www.aonaware.com/fileconv.htm

Edit: the files dead.... what a b*stard

My mother said to email it to himself.
Your Mum's a man???

I think I found a link for the FileCov.lha check it out.
http://ftp.ticklers.org/pub/aminet/util/conv/

would notepad++ open it? (free download, darei sayit google it)

I believe the info file is the icon for the file.

If its a plain ascii text file it should be legible. If its loads of wierd characters then its some kind of binary. When you open it in notepad, what does the first few bytes read as?
There could be an identifiable header :/

The most likely reason: The Amiga Motorolla processor use BigEndian byte order where as Intel processors use LittleEndian, essentially this means the bits are stored in reverse order. You can (probably) load it in BlitzMax by declaring it a LittleEndian stream.

Thanks for the replies. I`ll see if any of those ideas work.

Jason.

Just incase anyone is interested they seem to read fine in WordPad but they look garbled in NotePad.

Jason.

Amiga's append a carriage return (ASCII 13) to the end of each line. PC's expect a carriage return + line feed (ASCII 13 + ASCII 10 (I think?)).

Garbledness happens because of this. Most modern PC text viewers/editors compensate for this. All of them except Notepad.

I may have things the wrong way around, but that's how I understand it :)