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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:24:47+00:00 2026-05-26T14:24:47+00:00

I am making a certain class with complicated string manipulations. Stuff works well with

  • 0

I am making a certain class with complicated string manipulations.

Stuff works well with ' and ". However one of the texts had some weird quotes at an angle like this: ” and “ and in my code, the appear as †rather than actual quotes. That breakes my code, since its multiple characters, where it shouldn’t have been.

Can somebody please explain why this is happening, and how do you work it around?

  • 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-26T14:24:47+00:00Added an answer on May 26, 2026 at 2:24 pm

    either use utf-8 encoding or replace all non-fitting characters.
    these quotes has no spechial meaning though, you can ignore them.

    as it was discovered in the comments, the problem was in using substr instead of mb_substr(). So, with the latter the problem solved.

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

Sidebar

Related Questions

I'm making a class that initializes instances of certain classes. This class will be
I want to give a certain linked list to a class I am making.
What's the best practice for making sure that certain ajax calls to certain pages
I'm making a LaTeX document for someone. A certain piece of text looks bold
I want to block non-browser clients from accessing certain pages / successfully making a
After making some changes in my models (eg. new field in a model and
How can I get all instances from a certain class or kill all instances
Hi I am making application using phone gap in which certain html pages in
How can I make sure that a certain instance of a class will never
I'm making a simple paint program and am stuck with getting a certain part

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.