You are here:  » Warning: htmlentities/Image size


Warning: htmlentities/Image size

Submitted by srl2112 on Mon, 2006-04-17 17:39 in

I'm getting the following on my search results page:

Warning: htmlentities(): charset `ANSI_X3.4-1968' not supported, assuming iso-8859-1 in /home/content/p/r/i/pricescan/html/products.php on line 10

Warning: htmlentities(): charset `ANSI_X3.4-1968' not supported, assuming iso-8859-1 in /home/content/p/r/i/pricescan/html/products.php on line 52

Warning: htmlentities(): charset `ANSI_X3.4-1968' not supported, assuming iso-8859-1 in /home/content/p/r/i/pricescan/html/products.php on line 54

Does anyone know if it's something I can change in the program - or if its a problem with my data feed?

Also - I'm getting blurry images from one of my data feeds. Is there any coding I can do to get flexible pixels?

Thank you - Steve

Submitted by support on Mon, 2006-04-17 17:59

Hi,

Not sure where it's getting ANSI_X3.5-1968 from, as I'm presuming that you haven't set this in your config.php?

It might be worth specifying an alternative character set in your config.php file. Try setting $config_charset to "UTF-8" as follows.... This should fix the warning, but look closely at your site to check that everything is still displayed OK....

<?php
  $config_charset 
"UTF-8";
?>

The blury images will be a result of the re-sizing that is done to keep the look of the site consistent. You could remove the fixed sizing; but this would probably end up looking worse; as large images may occupy the whole screen...

The width of the images on the search results is set on Line 7 of html/searchresults.php (80px), and for the product page it is also on line 7, but in html/product.php (150px). You might want to experiement with these values as a single pixel change could make all the difference depending on the resolution of the full size image...