Help with page encoding issue and weird characters


Posted on 16th Feb 2014 07:03 pm by admin

I'm trying to write a screen scraper and when I pull out the lines of the html file that I'm interested in and put them in a variable, I end up with a few extra weird characters in my string that I wasn't expecting. And I'm having a hell of a time stripping those characters out. Its some type of encoding issue I think because the char shows up different in IE versus FF (which it shows up as a black diamond with a question mark in it). Anyone have any ideas ?

No comments posted yet

Your Answer:

Login to answer
76 Like 38 Dislike
Previous forums Next forums
Other forums

Pre-Fill out a PHP form...??
This is for work actually (geek squad). We have to fill out this online php form at work over and ov

Looping Problem
I've got a client that has a database with about 200 events at any given time. I'm trying to loop t

contact form - output to page and email
I have the following in my controller:

$message['name'] = htmlentities(strip_tags(trim($_POST

Exporting new records
Trying to figure out the best way to set this up.

People register my site.

Their prof

How could I combine these arrays??
Hello.. I'm trying to figure out a way to combine these first two arrays to get the last array..

MII Trends - add data onto chart object
Hello,

Can anyone please provide some thoughts on my current requirement:
its pretty

How to ... (FAQs)
... get e-mail notifications As several people asked how to get e-mail notifications when new posti

please fix the error
What is the error in the below code ???
Line number On/Off | Expand/Contract <?php

foreach and array need help combining
Hi guys.

Here's the code

Code: array(
'tag' => 'code',<

Convert array to string and write to csv file
I am looking to write a MySQL query to a csv file.

At the minute I:

check for the orig

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash