gcc and extended character source code
gcc and extended character source code
- Subject: gcc and extended character source code
- From: Peter Mulholland <email@hidden>
- Date: Mon, 11 Feb 2008 05:01:39 +0000
Hello xcode-users,
I'm porting some code that a German guy has written under VC2005. He
frequently makes use of German characters in symbol names, enums etc.
While this works absolutely fine on VC, gcc just wont swallow it out
of the box.
I have checked that the right file encoding is set in Xcode, which is
Western (ISO Latin 1). I've even tried converting the files to UTF-8
but gcc still wont compile them. For example:
enum Spiele
{
BILDER_BASTELN,
CRAZY_QUADER,
DREIECK_RECHNEN,
GEDÄCHTNIS,
...
};
... produces the errors:
error: expected '}' before 'OTHER' token
error expected unqualified-id beefore 'OTHER' token
... on the line where "GEDÄCHTNIS" is declared. If I comment it out,
or edit it to "GEDACHTNIS" it works.
I really don't want to have to edit all this out! Is there something
I'm missing?
--
Best regards,
Peter mailto: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