WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce Video Product Tab
[resolved] Problem with special characters (2 posts)

  1. Planasphere
    Member
    Posted 6 months ago #

    Hi,
    When i write a title wich content special characters (like é,è, ç...), the code return a big error:

    a:1:{i:0;a:4:{s:5:"title";s:6:"Vidéo";s:10:"hide_title";s:0:"";s:2:"id";s:9:"tab-vid
    Warning: Invalid argument supplied for foreach() in C:\wamp\www\...\woocommerce-video-product-tab\woocommerce-video-tab.php on line 228

    I think it comes from the fact you are using the "maybe_unserialize" function which does not work with special characters.

    Thanks for your help

    http://wordpress.org/plugins/woocommerce-video-product-tab/

  2. Sebastien D
    Member
    Plugin Author

    Posted 6 months ago #

    I would suggest try using the special character in ISO 8859-1 Character format.

    é = #233; place this before the hash &

    Here is a list of ISO 8859-1 Characters.
    http://www.w3schools.com/tags/ref_entities.asp

    Hope this helps.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.