Solved

php cURL returned character set

Posted on 2014-01-10
2
405 Views
Last Modified: 2014-01-10
when i view a particular web page via a browser, the
one-fourth character shows as ¼  (displays as a fraction character)

when i scrape the same page and display,
it's converted to ¿    which appears in my browser as a black diamond with a white ?

is there an option for cURL not to translate character sets?

thanks
0
Comment
Question by:willsherwood
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 39772249
Are you displaying the data in the same character set as the original page?
0
 

Author Comment

by:willsherwood
ID: 39772350
thanks for the trigger to re-look at that (there were two doc-type   tags!)
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
clicking to find my folders on wamp 8 42
Session time out quickly. 6 48
PHP MYSQLI Connection in Function in a class 4 23
Secure registration PHP 7 33
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question