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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T11:57:42+00:00 2026-05-22T11:57:42+00:00

In a request to YQL (select * from html where url=…) I got the

  • 0

In a request to YQL (select * from html where url="...") I got the following response:

callback({
    "query":
        {"count":"1","created":"2011-05-09T23:29:05Z","lang":"en-US"
     }, "results": ["<body>... we\ufffdll call Mr ...</body>"]
}

This is from the YQL console page.
When I type that sequence into firebug (even on YQL’s page) I get:

... we�ll call Mr ...

What am I doing wrong? Is YQL’s site in a bad encoding? Is there some way to convert symbols like this to their ascii equivalent?

BTW this isn’t my site so it’s not like I can change the meta charset on that site

  • 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-22T11:57:43+00:00Added an answer on May 22, 2026 at 11:57 am
    • It seems like that (the question mark in a solid black diamond) is what you should be seeing: http://www.fileformat.info/info/unicode/char/fffd/browsertest.htm

    • The comment on that character’s page says:

      used to replace an incoming character whose value is unknown or unrepresentable in Unicode

    Maybe the answers to these might help get a better answer:

    1. What character are you expecting at that place?
    2. Can you post the URL that you’re scraping?
    3. Is that the character on that page also or is it getting mangled when picked up by YQL?

    Update

    You might want to check out the charset option in the where clause of your YQL query – I’m not entirely sure what it does but it looks like it forces the YQL engine to use the specified charset when parsing the page. Perhaps setting it to UTF-8 will solve your problem.

    For example,

    select * from html where url = 'http://google.com' and charset='utf-8'
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

how come this isn't working: $url = http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20html%20where%20xpath%3D%22%2F%2Fmeta%22%20and%20url%3D%22http://www.cnn.com%22&format=xml&diagnostics=false; $xml = (simplexml_load_file($url)) I get multiple
var request = new Request({ method: 'get', url: 'onlinestatusoutput.html.php', onComplete:function(response) { $('ajax-content').get('tween', {property: 'opacity',
I've got a request from a customer to automatically detect the type of mobile
Currently, I try to get the data through YQL. select * from yahoo.finance.quotes where
I'm making a request from an UpdatePanel that takes more then 90 seconds. I'm
I need to use YQL (Yahoo Query Language) to perform a cross domain ajax
This request is based in MS Access VBA. I would like to know what
another request sorry.. Right now I am reading the tokens in one by one
How can I request a random row (or as close to truly random as
There is a request to make the SO search default to an AND style

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.