• Resolved danil3101

    (@danil3101)


    Hello, I need to import texts (title, description) containing emoji to the site. When I upload to CSV plugin emoji file immediately disappear. Database is configured well, encoding utf8mb4_general_ci. If you manually paste into emoji text, it will display correctly. Is it possible to somehow configure your plugin to import emoji, and how to do it?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author WP All Import

    (@wpallimport)

    Hi @danil3101

    Is it possible to somehow configure your plugin to import emoji, and how to do it?

    Please try adding this code snippet to your child themes functions.php file (or in a plugin like Code Snippets):

    add_filter('wp_all_import_is_enabled_stream_filter', 'wpai_wp_all_import_is_enabled_stream_filter', 10, 1);
    function wpai_wp_all_import_is_enabled_stream_filter($enable_strem_filter) {
        return FALSE;
    }
    
    add_filter('wp_all_import_csv_to_xml_remove_non_ascii_characters', 'wpai_wp_all_import_csv_to_xml_remove_non_ascii_characters', 10, 1);
    function wpai_wp_all_import_csv_to_xml_remove_non_ascii_characters($remove_non_ascii_characters) {
        return FALSE;
    }
    Thread Starter danil3101

    (@danil3101)

    Hi @wpallimport
    Thank you for your prompt response, but unfortunately it has not changed anything. Maybe there are some other options?

    Plugin Author WP All Import

    (@wpallimport)

    Hi @danil3101,

    unfortunately it has not changed anything. Maybe there are some other options?

    Please make sure your file is using the correct encoding – see: http://www.wpallimport.com/documentation/troubleshooting/encoding/.

    If it already is, then we’ll have to see the import settings/data to help. Replicate the issue on a debug site at http://www.wpallimport.com/debug/ and open a support request at http://www.wpallimport.com/support/ with the details.

    Plugin Author WP All Import

    (@wpallimport)

    Hey @danil3101,

    I’m marking this as resolved since we haven’t heard back. You can follow up in this thread if you still have questions.

    Anyone else, please open a new topic.

    Thank you, it works perfectly.
    The imoji are imported.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘The problem with importing text that contains emoji.’ is closed to new replies.