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

Remove values in array2 from array1
I have two arrays.

Array 1 is where the array key holds various different numbers. For exampl

default SAP userid
hi,, I just like to know if it is ok to use the default SAP user id (SAP*)?

Stats of viewers
Hello. I have a website in php and people can login. I want to make an admin control panel where u c

Page Reload
I am having issues getting a page to reload after I submit data to a database. This form should inp

multipart emiail forms
Hi All,

I am new to the boards and I've been working on a form (which is rather massive, imo

PHP, Arrays & A Lot Of Confusion
I've been doing basic PHP work on sites for a few years now, but I've never been tempted to learn ho

dynamic table with forms
I have a table that is populated with mysql data and in teh first column there is a raido button tha

What do you call the "token" thing?
You know how some sites have links that run on tokens? Tokens are links that only stay alive for a c

Internal Server Error issues
This has been bothering me for weeks and I've been trying to solve it without asking for help, but e

array ...
hi
Code: function formatCategories($categories, $parentId)
{
// $navCat stores all child

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