Corrupting files when converting from Unix

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
MattFranklin

Corrupting files when converting from Unix

Post by MattFranklin »

I regularly modify both Unix and PC formated files using Textpad. 4.4.2. However, sometimes I need to change Unix formated files to PC format. This usually works fine using the Save options, but every now and again. The saved files get corrupted such that if I reload them half of the text has been replaced by squares. The squares only fill up the top line of the file but half of the file has dissappeared. Is this just a problem with my version of Textpad or is there a particular character in the file that could be causing this?

I'v put up with the problem for a while but just recently I lost a major chunk of code that I didn't have a back up for so I thought I would look for a solution. I think the same problem could be causing MSDEV to crash when I edit the same files.

Matt
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

4.4.2? Quite an old version...

Does it happen with current version (4.7.2) as well?

When saving with PC line endings, do you change encoding as well?
User avatar
talleyrand
Posts: 624
Joined: Mon Jul 21, 2003 6:56 pm
Location: Kansas City, MO, USA
Contact:

Post by talleyrand »

Additionally, when it does happen, snag a text editor and see what the squares are. It may provide some insight into what/how your data is being corrupted. I've had no issues converting between Unix and Windows format within TP.
I choose to fight with a sack of angry cats.
Jonathan_Taylor
Posts: 5
Joined: Wed Apr 30, 2003 3:02 pm
Location: Halifax, West Yorkshire, England

Post by Jonathan_Taylor »

Are the files saved onto a UNIX computer from you PC using a SAMBA drive at any point? I occassionally get this problem when doing this (and I'm not usually converting between PC <-> UNIX format, so this is probably irrelevant).
Post Reply