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

The Archive Base Latest Questions

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

this is the header of all the RSS feeds I use <?xml version=1.0 encoding=UTF-8?>

  • 0

this is the header of all the RSS feeds I use

<?xml version="1.0" encoding="UTF-8"?>

and this is the encoding in my script

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

What I do is to display the content(description) of an RSS post using this echo mb_substr($entry->description, 0, 490);
but I have a diamond question mark at the end of some descriptions not all.

If I echo the whole description value, I don’t get any question marks at the end. I have made a lot of researching and found nothing that works for me as a fix.
So, is there any possible working way to fix this or perhaps an alternative way to “cut” some of the echoed content?

Thank you.

  • 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-23T16:09:27+00:00Added an answer on May 23, 2026 at 4:09 pm

    Indicate the encoding with:

    mb_substr($entry->description, 0, 490, "UTF-8");
    

    Otherwise, the mbstring extension may assume a different encoding and treat the text in a fashion that corrupts the output.

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

Sidebar

Related Questions

i have this header at the top: http://yoursdproperty.com/ how do i move the swf
I'm displaying images from outside my web root, like this: header('Content-type:image/png'); readfile($fullpath); The content-type:
I have been working all night and yesterday on this header section in css,
I have used this header in my site: <head> <script type=text/javascript src=libs/jquery.js></script> <script type=text/javascript
When I use class dump z, I don't get any header files, all I
i mean the HTTP/1.1 xxx yyyyyyy header i can modify all others with mod_headers
I have this header file, zeeheader.h, and I wrote some classes in it, I'm
I have a macro definition in header file like this: // header.h ARRAY_SZ(a) =
I have a CSS entry that looks like this: .header { background-image: url(./images/embouchure.jpg); background-repeat:
If I do this: // In header class Foo { void foo(bar*); }; //

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.