• 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: Illegal byte sequence
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Illegal byte sequence


  • Subject: Re: Illegal byte sequence
  • From: David Ewing <email@hidden>
  • Date: Tue, 12 Dec 2006 10:37:31 -0700


On Dec 8, 2006, at 10:38 AM, Tommy Nordgren wrote:

On 4 dec 2006, at 23.14, Mark Wagner wrote:

When compiling one of the source code files in my project using GCC 4,
I get the error message "PGHTMDEF.C:350:1: error: converting to
execution character set: Illegal byte sequence". Line 350 is the last
line in the file, and contains only a Windows-style CR/LF sequence, so
I doubt this is where the actual error is. What causes this error,
why didn't it happen in GCC 3.3, and how can I figure out where the
error is?


Thanks,
Mark Wagner
I suggest writing a perl script to translate the file in question from whatever
encoding it uses, to an encoding gcc can handle.

It's even easier to just change the encoding in Xcode. From the Format > File Encoding menu, select "Unicode (UTF-8)", and choose "Convert" from the panel. Then just save the file.


Dave

_______________________________________________
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: 
 >Illegal byte sequence (From: "Mark Wagner" <email@hidden>)
 >Re: Illegal byte sequence (From: Tommy Nordgren <email@hidden>)

  • Prev by Date: Re: Xcode 2.4.1 problem
  • Next by Date: Re: popup of included files sometimes not working
  • Previous by thread: Re: Illegal byte sequence
  • Next by thread: Re: Illegal byte sequence
  • Index(es):
    • Date
    • Thread