Re: Project Builder ate my code
Re: Project Builder ate my code
- Subject: Re: Project Builder ate my code
- From: Bill Cheeseman <email@hidden>
- Date: Tue, 13 May 2003 16:31:57 -0400
on 03-05-13 3:55 PM, Jan Van Tol at email@hidden wrote:
>
Just an hour or so ago, I selected the .m file for my main class, only
>
to discover it had been filled with gibberish. This happened once
>
before, with another file, but I was able to easily restore from a
>
backup. This time though, my backup is a little outdated, and I prefer
>
if I could recover the source.
>
>
The gibberish file appears to be about the same length as the original
>
file. Here is a sample:
If you're saying it looks like Japanese characters, this happens all the
time to me. It isn't that the file is corrupted, but that PB is interpreting
it in the wrong text encoding. Save a copy of the offending file so you
don't lose it, then try this: Click anywhere in the text content of the file
in PB, then choose Format > Text Encodings. If the checkmark is on UTF-16,
choose UTF-8. Then, in the dialog, try "interpreting" it as UTF-8. If I'm
right, it will suddenly become readable.
I suspect this is a bug in PB, but I haven't done enough systematic
experimenting to report it.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.