Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7861209
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T22:36:58+00:00 2026-06-02T22:36:58+00:00

EDIT: NSLog output works well in the simulator, but doesn’t work when connected to

  • 0

EDIT: NSLog output works well in the simulator, but doesn’t work when connected to a real device. And it seems that it is a bug — http://openradar.appspot.com/11148883. Also it happens that it is related to the LLDB, switching Xcode to GDB resolves the problem. Either it’s possible to JetBrain’s AppCode, which works well with the LLDB.


I have a bunch of unicode strings in the application, and if I try to output any of those strings using something like NSLog(@”%@”, aString) then all the ASCII characters in the string will be printed fine but all the cyrillic letters will be messed up, so instead of

newLocation: coordinate:60.019584,30.284954 'Удельная'

I’m getting:

newLocation: coordinate:60.019584,30.284954 '–ü–æ–∫–ª–æ–Ω–Ω–æ–≥–æ—Ä—Å–∫–∞—è'

And that’s quite hard to do any debugging with that kind of output. And because that app is targeted for the Russian market only I can’t just change locale and use English strings.

So I wonder if there any way to make NSLog work well with unicode characters? And I’m looking only for some kind of one-liner solution, I know that there are some ways to write half a page of code and output unicode chars, but I’m looking for something shorter. Ideally I’m looking for some method of NSString that will make it all work. e.g.

NSLog(@"%@", [aString someThingThatMakesUnicodeWorkWithXcodeConsole]);
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T22:37:04+00:00Added an answer on June 2, 2026 at 10:37 pm

    As far as I know it is relevant to NSLog() and LLDB on some Xcode versions. Have a try with one of these solutions:

    • Check log in Xcode Organizer >> Devices >> your device >> Console.
    • Use GDB as your debugger instead of LLDB if you are using the latter one. This can be changed from the schema options. Please refer to the steps in the comment by “cocos2d man” below.
    • Upgrade to Xcode 4.3.2. Some people say it solved this issue, but I haven’t confirmed this myself.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

EDIT: The given answer works on the device, but beware it fails on the
Current Code: - (void)textFieldDidBeginEditing:(UITextField *)textField { NSLog(@begin edit: %@, textField); } Related output: 2011-10-30
On iOS5 simulator and device, NSDateFormatter doesn't show time zone abbreviation for Asia/Kolkata for
What formatter is used for boolean values? EDIT: Example: NSLog(@ ??, BOOL_VAL); , what
EDIT 1 I apologize but after reading the 2 suggested articles I still don't
EDIT: This post was originally specific to ASP.NET, but after thinking about it I'm
I've got an NSLog invocation in a method that I know is getting called
I'm having a problem with OpenAL that only seems to occur with iPod hardware,
Edit: I was able to fix the presentation thing by changing the NSLog to
::Edit:: It works now? haha, maybe I just didn't save my latest IB...who the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.