简体   繁体   中英

Trade mark and copyright are changed to unicodes in database of wordpress

I'm having some issues regarding the WordPress database as it saves the product/post titles as Unicode if it has some trademark or copyright characters. I tried to change the Config.php file and commented on this code define('DB_CHARSET', 'utf8mb4'); define('DB_COLLATE', ''); but I think it didn't work. Any suggestions on how can I change it? On database TM looks like product Test ™ ™ ™ product Test ™ ™ ™

Inside the plugin file look for wck-cart-rebuild look for
'Name' => $product->get_name(), and replace it to 'Name' => html_entity_decode($product->get_name()),

Note: you may need to reimport historical data on the website from dashboard/integration/woocom

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM