Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nonbreaking spaces in alerts



18 okt 2005 kl. 22.18 skrev Paul J. Lucas:

On Tue, 18 Oct 2005, John Stiles wrote:


Use option-space to make the non-breaking spaces. You can't use @"blah" for
this, since it's no longer ASCII, but you can load it as a localized string or
use stringWithUTF8String or something like that.



For the stringWithUTF8String, is there some Unicode code I can use inline, e.g., @"Mac&#xxxx;OS&#xxxx;X" ?

Yes, @"Mac\u00A0OS\u00A0X" should work.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Nonbreaking spaces in alerts (From: "Paul J. Lucas" <email@hidden>)
 >Re: Nonbreaking spaces in alerts (From: John Stiles <email@hidden>)
 >Re: Nonbreaking spaces in alerts (From: "Paul J. Lucas" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.