Administrator
- Join Date:
- Feb 2006
- Location:
- Tampa Bay, Florida
- Posts:
- 10,753
- Plugin Contributions:
- 56
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?
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.