How to display Japanese in debug console?
How to display Japanese in debug console?
- Subject: How to display Japanese in debug console?
- From: Norio Ota <email@hidden>
- Date: Sun, 25 Jun 2006 15:28:58 +0900
Would you tell me how to display Japanese on the debug console window?
// the content in the quotation mark is actually Japanese.
fprintf ( stderr, "Nihongo string here" ); // it works.
// the following codes don't work. The string in the quotation is also
Japanese.
char * c_str = "Nihongo".
fprintf ( stderr, "%s\n", c_str ); // not work.
CFStringRef cfRef = CFStringCreateWithCString (NULL, c_str,
CFStringGetSystemEncoding());
CFShow (cfRef); // not work
CFRelease ( cfRef);
Thanks,
norio
_______________________________________________
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