Solved

php cURL returned character set

Posted on 2014-01-10
2
398 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
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
geting geocode of a user with using Google maps api 8 34
.htaccess 5 35
maybe no no httpd.conf 6 46
Detect Closed Loops (circles, figure-8s, etc) in PNG Images 6 32
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

776 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