Re: Umlaute in NSString
Re: Umlaute in NSString
- Subject: Re: Umlaute in NSString
- From: "M. Uli Kusterer" <email@hidden>
- Date: Mon, 22 Mar 2004 16:51:26 +0100
At 16:19 Uhr +0100 22.03.2004, Michael Becker wrote:
Just a quick question: I have an NSAttributedString set up like this:
aS = [[ NSAttributedString alloc] initWithString:@"U-Umlaut: " attributes:d];
[ aS drawAtPoint:aPoint];
But the output on the screen is this:
U-Umlaut: C!
Source code files are assumed to be ASCII, which doesn't have
Umlauts. You'll have to load the text from a separate file. The
easiest way would be to just use NSLocalizedString() and the
Localizable.strings file.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.