• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode's Editor losing text encoding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode's Editor losing text encoding


  • Subject: Re: Xcode's Editor losing text encoding
  • From: Brian Stern <email@hidden>
  • Date: Thu, 31 Jul 2008 17:52:07 -0400


On Jul 30, 2008, at 5:48 AM, Rosyna wrote:

Has anyone noticed Xcode suddenly losing the text encoding of a document with MacRoman characters? (specifically things like 'ƒ_sø').

It was the oddest thing, Xcode first gave 220 warnings about the character, I closed the project and reopened it and the file and all the non-ASCII characters had changed. I opened the file in BBEdit and it too showed the encoding error. I eventually had to restore the file from svn.

This is the first time this has ever happened to me and I wonder if anyone else has seen it. (Xcode 3.1).

I have a lot of old PowerPlant sources that have a MacRoman bullet character in the comments. Something like:


// ---------------------------------------------------------------------------
// • GetParameters
// ---------------------------------------------------------------------------


Older versions of Xcode (probably 2.4) changed the bullet to garbage in some fraction of the source files. Since they were in comments I didn't pay too much attention. In those files that were corrupted I eventually converted the bullets to asterisks.

In looking at some of these files now Xcode 3.1 has the file encoding set to MacRoman for both the files that were corrupted in the past and ones that were never corrupted.

Not sure if that helps but yes it can corrupt MacRoman files. I guess it prefers utf-8.

--
Brian Stern
email@hidden



_______________________________________________
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


References: 
 >Xcode's Editor losing text encoding (From: Rosyna <email@hidden>)

  • Prev by Date: Re: LLVM or GCC or Intel?
  • Next by Date: Re: Can't debug unit test
  • Previous by thread: Re: Xcode's Editor losing text encoding
  • Next by thread: X-Code 3.0: unable to enable SCM in a project
  • Index(es):
    • Date
    • Thread