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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T21:37:40+00:00 2026-06-04T21:37:40+00:00

Trying to use the Twitter search API. When I call utf8_decode on a re-tweeted

  • 0

Trying to use the Twitter search API. When I call utf8_decode on a re-tweeted tweet I get speech marks/quotes appear as question marks…

Code:

$output .= '
        <div class="leftcoltweet">
            <div class="timg">
                <a href="' . $account . '" target="_blank"><img src="' . $image .'"></a>
            </div>
            <div class="ttweet">
                ' . utf8_decode($tweet) . '
            </div>
            <div class="clr"></div>
            <div class="ttime">' . $time . '</div>
            <div class="clr"></div>
        </div>
    ';

Output:

RT @IVAOAERO: ?@FilipJonckers: We are aware of and working on a fix for the ATIS issue introduced after last nights network upgrade http://t.co/6FODzr0Y?

All other symbols display correctly.

Do I have to set a language to use? If you want to know the atom query I make or anything else then let me know.

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

    note that utf8_decode() works ONLY with iso-8859-1 (latin) encoded string.
    if you know the character set of the string, you can call:

    echo iconv("THE_CHARSET","utf8",$tweet);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to find people via Twitter API. I use urls like this: https://api.twitter.com/1/users/search.json?q=some@email.com
I'm trying to use the rottentomatoes movie API with twitter's bootstrap typeahead plugin but
I trying to use twitter API to send direct messages using C# but Twitter
I am trying to use twitter search web service in python. I want to
I am trying to find a way to use the twitter stream API in
I'm trying to use the JSON library to consume twitter information from the get
I am trying to use Tweetsharp to do a search on twitter for specific
I am trying to get the JSON data from a Twitter search request such
I'm trying to use jTwitter to get an oauth instance to twitter with my
I'm trying to use twitter bootstrap to create Facebook like tooltip layout. I would

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.