• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Umlaute in NSString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Umlaute in NSString (From: Michael Becker <email@hidden>)

  • Prev by Date: Re: Umlaute in NSString
  • Next by Date: Re: Umlaute in NSString
  • Previous by thread: Re: Umlaute in NSString
  • Next by thread: Re: Umlaute in NSString
  • Index(es):
    • Date
    • Thread