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 8388815
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T18:33:13+00:00 2026-06-09T18:33:13+00:00

my app reading from a SQLite database and display the text on UILabel, but

  • 0

my app reading from a SQLite database and display the text on UILabel, but for some reasons, a small “rectangle symbol” appear as shown in the picture. When I use NSLog to print the text in the console, the text appears normally, i.e, just printing out “Home.” (without the rectangle symbol)

enter image description here

Here is my code:

NSString *text=[[NSString alloc] initWithUTF8String:(const char *)sqlite3_column_text(statement, 1)];

NSLog(text);
myLabel.text=text;
  • 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-09T18:33:14+00:00Added an answer on June 9, 2026 at 6:33 pm

    try:

    NSLog ([NSString stringWithFormat:@"%s<--",text]);
    

    in your console output, does the <– appear on the line below the text? If so, you’ve likely got a CR/LF terminated string.

    Or likely more useful, enumerate each character in your string and output to console as hex value, you can then at least see what these characters are (if not CR/LF).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an app reading from an SQLite database using an Adapter to display
My Android app is reading and writing to a local SQLite DB from a
In my iphon app , I'm reading from sqlite db into NSMutableArray *sales and
I'm using a background thread to read from a Sqlite database some GPS data...and
I have a list view populated by an adapter reading from SQLite database. When
I m trying to store and retrieve image and text from sqlite database..My saveDatabase
I want to implement a great text reading experience in my app, similar to
I'm developing an app that starts a System.Threading.Timer which does some fairly rapid reading/writing
my app has a sqlite database which is already preloaded with data. the database
In my cappuccino app, I am reading from an RoR backend via JSON and

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.