I have parser which parsing urls.
In some parsed urls I have a simple space like %20, but if I check the real url of parsed site I see this non-breaking space %C2%A0.
So, how I can replace %20 to %C2%A0?
foreach($productUrls as $href) {
$productWithSpace = str_replace('%20', '%C2%A0', $href['url']);
$link = 'http://optnow.ru/' . $productWithSpace;
$product = file_get_html($link);
}
But It still not working.
Where is my mistake?
Thanks