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

  • SEARCH
  • Home
  • 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 9294319
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T21:20:39+00:00 2026-06-18T21:20:39+00:00

I am trying to catch bullet points which was given in textfield and trying

  • 0

I am trying to catch bullet points which was given in textfield and trying to replace it with something else, because it is being shown as ? instead of • after rendering the given text to the user. I tested like this: I wrote text with bullet points in word and copy-pasted into textfield.

My vision is this:

$test = strstr($input,'•');
if($test){ echo "bullet point found!";
}

but it is not working or not catching, or • is the wrong regexp to catch the bullet points.

  • 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-18T21:20:41+00:00Added an answer on June 18, 2026 at 9:20 pm

    strstr is unlikely to catch • when you specify • because the former is a native character, and the latter a HTML entity.

    It doesn’t matter though: you should fix the underlying issue instead.

    You’re likely to have an encoding problem that’s not limited to bullet points. Seeing a � character means that you are feeding a non-UTF-8 character into UTF-8 output.

    Reasons for this could be:

    • A source file (where the character is stored) that is saved in the wrong encoding, e.g. Windows-1252 instead of UTF-8 (check the “Save As…” dialog of your IDE)

    • A database connection that uses latin1 as the connection encoding (even though the tables are UTF-8)

    See UTF-8 all the way through for a comprehensive list of things to look at.

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

Sidebar

Related Questions

I'm trying to catch outgoing HTTP request and replace it with another. For example
I'm trying to catch a mouse-click even on a Table (which should cause a
I'm trying to catch a network socket leak in our Java daemon, which has
I'm trying to catch a network socket leak in our Java daemon, which has
I have a program which fork s a child. I am trying to catch
I am trying to catch exceptions for my form client not being able to
I'm trying to catch a JSON object with a mouse click event. I use
I'm trying to catch a double-click event in a TreeView's empty area to create
I'm trying to catch an event when a user clicks a blank space on
I'm trying to catch and log the Content-Type of a response on a Filter

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.