I keep getting the following warning in a debug file when accessing certain pages in admin. Not all but seems to be when there’s a UK Pound sign around and the message is repeated a number of times in the file.
[25-May-2012 15:14:09] PHP Warning: htmlspecialchars() [<a href='function.htmlspecialchars'>function.htmlspecialchars</a>]: charset `latin1' not supported, assuming iso-8859-1 in /home/pointesh/public_html/shop/admin/includes/functions/general.php on line 39
I had problems on getting currency symbols to display correctly when updating the database from my 1.39 store to 1.5 but after following the various threads and the link at https://www.zen-cart.com/tutorials/i...hp?article=414 managed to get it working with the following in both admin and store files:
configure.php - define('DB_CHARSET', 'latin1');
english.php - @setlocale(LC_TIME, 'en_GB.ISO_8859-1'); and define('CHARSET', 'latin1');
I’m using £:, € and ¥ in the currencies table.
The store and admin are working fine and displaying correctly but I have a feeling if I don’t put this right it could come back to haunt me at a future database upgrade.
Anyone else seen this problem and know of a possible solution?
Bookmarks