Re: XCode woes
Re: XCode woes
- Subject: Re: XCode woes
- From: Rainer Brockerhoff <email@hidden>
- Date: Thu, 6 Nov 2003 16:23:06 -0200
>From: Adriaan Tijsseling <email@hidden>
>Date: Wed, 5 Nov 2003 09:38:00 +0900
>
>XCode just gigantically screwed up my project. Project source files and
>headers now show garbage instead of text. I worked so hard on this
>project. What's the deal with this?
>
>...
>
>From: Godfrey DiGiorgi <email@hidden>
>Date: Tue, 4 Nov 2003 17:07:58 -0800
>
>Engineering needs to know everything possible about these issues as
>well as how to reproduce them. I've not heard of others reporting
>'mangled .plist' files nor have I seen any reports of crashing prior to
>this with the updated Xcode IDE so far. If you have seen these issues,
>particularly on a repeated basis, please file a bug and supply as much
>information about your system configuration and the nature of the
>project you are working on.
I've had this problem a few times before installing the update, mostly after messing around with file encodings - I'd noticed that files that should be UTF-8 or UTF-16 appeared as MacOS Roman and tried to correct this.
Anyway, what seems to happen is that spurious NUL characters (in UTF-8) or even double-NUL characters (in UTF-16) get inserted. This will mess up Unicode escape sequences. In all cases, I managed to rescue the file by making sure the encoding was UTF-16, then opening up the file's data fork in Resorcerer (some other Hex editor will do), removing all 0x0000 sequences by find&replace, then eyeballing the file to ensure that all ASCII sequences were in 0x00nn form. Sometimes an extra NUL would still be found somewhere, throwing the UTF-16 encoding out of whack.
Hope this helps someone...
--
Rainer Brockerhoff <email@hidden>
Belo Horizonte, Brazil
"It's extremely unlucky to be superstitious, for no other reason
than it is always unlucky to be colossally stupid." (Stephen Fry)
http://www.brockerhoff.net/ now with forums for XRay, Zingg! et al.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.