Handling of files and data containing ® (registered trademark symbol)
Zen Cart does not handle this well right now. For instance, a ® symbol in a file in html_includes will yield this error when the defines pages editor is used from admin:
[09-Aug-2012 00:35:33 UTC] PHP Warning: htmlspecialchars(): Invalid multibyte sequence in argument in /var/www/html/mysite/myadmin/define_pages_editor.php on line 188
... and the define page is blank in admin (since the default behavior of htmlspecialchars is to return nothing in the event of an error.)
This can be resolved by using ENT_IGNORE in the htmlspecialchars call in admin/define_pages_editor.php line 194.
Of course, there are a number of htmlspecialchars calls ... and unfortunately a lot of the cart's descriptions contain the registered trademark symbol.
Any other suggestions?
Scott C Wilson, That Software Guy, Plugin Moderator
Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.
Bookmarks