• 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: How to display Japanese in debug console?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to display Japanese in debug console?


  • Subject: Re: How to display Japanese in debug console?
  • From: Steve Sisak <email@hidden>
  • Date: Sun, 25 Jun 2006 22:17:30 -0400

At 11:01 AM +0900 6/26/06, Norio Ota wrote:
I tried putting the following prototype at the beginning of the source file which has NSLog:

void NSLog (NSString* format, ...);
void NSLog (NSString* format, va_list args );

But Carbon doesn't have NSString class, how do you think I define NSString for using it in Carbon?

IIRC, NSString is "tool-free bridged" to CFString() so:

  void NSLog (CFString* format, ...);
  void NSLog (CFString* format, va_list args );

will probably work -- many of the Cocoa NS* (NS=NextStep) types and functions have CF* (CF=CoreFoundation) equivalents which are really the same types/functions -- there may even be a CF equivalent of NSLog()

I'm guessing here (and ordinarily would reply privately in this case) but, given the time difference, am cc'ing the list in case someone can give you a better or more authoritative answer before it's Monday in California.

HTH,

-Steve
--
_________________________________________________________________________
Steve Sisak, CTO                                 email@hidden
IOXperts, Inc.                                            +1 617 876-2572
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >How to display Japanese in debug console? (From: Norio Ota <email@hidden>)
 >Re: How to display Japanese in debug console? (From: Damien Bobillot <email@hidden>)
 >Re: How to display Japanese in debug console? (From: Damien Bobillot <email@hidden>)
 >Re: How to display Japanese in debug console? (From: Norio Ota <email@hidden>)
 >Re: How to display Japanese in debug console? (From: Steve Sisak <email@hidden>)
 >Re: How to display Japanese in debug console? (From: Norio Ota <email@hidden>)

  • Prev by Date: Re: How to display Japanese in debug console?
  • Next by Date: Re: How to display Japanese in debug console?
  • Previous by thread: Re: How to display Japanese in debug console?
  • Next by thread: Re: How to display Japanese in debug console?
  • Index(es):
    • Date
    • Thread