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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:22:23+00:00 2026-05-27T18:22:23+00:00

So I want the plus sign to be stored as a string and displayed

  • 0

So I want the plus sign to be stored as a string and displayed to the screen later; so in this case I have

 String plusSign = "+";

but when I display the above on screen, I get a weird plus sign that has a circle around it. I am using the variable in an app that I’m making so using android may have something to do with the strange format. Is this how the plus sign is supposed to look or is there a way to make it look like a normal plus(a cross with no circle)?

Let me add some alternatives I’ve tried. The first thing I did was see if the unicode version of the plus sign would look any different but nothing appeared when I displayed it(the code was \u002B). I, also, looked at the ascii version but I wasn’t sure how to convert it to a string.

Here is the code I use to display the string onScreen

 Addition = new Text(PositionX, PositionY, standardFont, "Intergers" + plusSign + "Integers");
 mScene.attachChild(Addition); 

I use andEngine, so here is the Text class http://code.google.com/p/andengine/source/browse/src/org/anddev/andengine/entity/text/Text.java

It looks like it is related to android: http://www.droidforums.net/forum/droid-x-faq/65474-what-those-icons.html

So it seems like if you use a font that does not support a certain character, it defaults to what ever android uses.

  • 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-05-27T18:22:23+00:00Added an answer on May 27, 2026 at 6:22 pm

    It looks to me like the most likely culprit is the font you are using. I would double check that the plus symbol doesn’t have a circle in that font. There is another symbol, the “xor” symbol ("\u2295") that is a plus with a circle around it. I can’t think of a reason why the plus symbol would be replaced with this symbol, but you might try displaying this character specifically to see if it looks like what you are seeing in the font you are using.

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

Sidebar

Related Questions

I have an array of strings plus one additional string. I want to use
I I want to match the plus sign in a string and replace it,
I want to add a + (plus sign) before all the occurrences of image
want to have a Hyperlink-Button in a gridView in which I can display a
If I have a string... abcdefghi and I want to use regex to load
Problem: I want to pass the mobile phone No with a plus sign to
I want to replace all non-alpha characters in a string with a plus '+'
I have a simple HTML like this: Get alert with inserting a + sign:
I want to create a circular button having a plus and minus sign on
I have a sign-up form that has nested associations/attributes whatever you want to call

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.