Re: Illegal byte sequence
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