Re: Cant't use UTF-8 source files. False string interpretation.
Re: Cant't use UTF-8 source files. False string interpretation.
- Subject: Re: Cant't use UTF-8 source files. False string interpretation.
- From: Manfred Lippert <email@hidden>
- Date: Mon, 16 Feb 2004 15:54:57 +0100
It is possible to enter arabic letters in an NSTextField by using IB's
Attributes window but I can't [text1 setStringValue:@"someArabic"];
If you set the encoding of your source files to UTF-8, you can do
something like that:
[text1 setStringValue:[NSString stringWithUTF8String:"someArabic"]];
>GCC, the compiler used by Xcode for C, C++, and Objective-C, expects
its source files to contain only ASCII characters, with the exception
that comments and strings can contain any characters. Make sure your
application and your source files both use the same encoding. [......]
This seems to be valid for C-Strings ("...") only, not for
Obj-C-Strings (@"...").
Regards,
Mani
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.