Re: Umlaute in NSString
Re: Umlaute in NSString
- Subject: Re: Umlaute in NSString
- From: Kevin Ballard <email@hidden>
- Date: Mon, 22 Mar 2004 10:47:47 -0500
Well, the characters you mention aren't present in the email, so I have
to guess there was an umlaut at the end of that static string.
Anyway, I think your solution is to fix the encoding of the source file
- make it Unicode. That's just a guess, but I think it should work.
On Mar 22, 2004, at 10:19 AM, 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!
>
>
(The umlaut turns into a square-root-sign and a degree-sign)
>
>
I am not really familiar with character encodings, so could somebody
>
please tell me how to get rid of this and make the application draw
>
the correct umlaut?
--
Kevin Ballard
email@hidden
http://www.tildesoft.com
http://kevin.sb.org
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.