Re: Xcode's Editor losing text encoding
Re: Xcode's Editor losing text encoding
- Subject: Re: Xcode's Editor losing text encoding
- From: Alastair Houghton <email@hidden>
- Date: Thu, 7 Aug 2008 14:22:31 +0100
On 31 Jul 2008, at 19:07, David Dunham wrote:
On 30 Jul 2008, at 02:48, Rosyna wrote:
Has anyone noticed Xcode suddenly losing the text encoding of a
document with MacRoman characters? (specifically things like 'ƒ_sø').
No; my nemesis is line endings, which Xcode will either revert to
Unix (despite my preferences being set to Preserve), or worse, mix.
If you haven't already, check that your source control system is
behaving sensibly. For instance, it's very easy to end up with this
problem if you have a network home and you e.g. check out code on a
Windows machine and then check it in on a Unix or Unix-like system.
The problems occur because most source control systems are trying to
be too clever for their own good and perform line ending translations
on check-in/out.
Similarly if you apply patches generated on a Unix machine to code
checked out by/on a Windows system, you can mess up the line endings.
Both CVS and Subversion certainly cause these problems. I don't know
about the various other systems, but I bet many of them do also.
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden