简体   繁体   English

商标和版权在wordpress的数据库中修改为unicodes

[英]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.我有一些关于 WordPress 数据库的问题,因为如果它有一些商标或版权字符,它将产品/帖子标题保存为 Unicode。 I tried to change the Config.php file and commented on this code define('DB_CHARSET', 'utf8mb4');我试图更改Config.php文件并评论了这段代码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 ™ ™ ™在数据库 TM 上看起来像product Test ™ ™ ™ product Test ™ ™ ™

Inside the plugin file look for wck-cart-rebuild look for在插件文件中查找 wck-cart-rebuild 查找
'Name' => $product->get_name(), and replace it to 'Name' => html_entity_decode($product->get_name()), 'Name' => $product->get_name(),替换为'Name' => html_entity_decode($product->get_name()),

Note: you may need to reimport historical data on the website from dashboard/integration/woocom注意:您可能需要从 dashboard/integration/woocom 重新导入网站上的历史数据

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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