• Resolved asdamcener

    (@asdamcener)


    Hi,
    I use calderaforms,when i try to export entries to excel file, results in excel file come like this:

    ???μ?¨asdas”,……..???§,,”…… ?3?????… ?§?????-?????? ???§?-???§”,,,,”ewrwer

    However, i use another form plugin which it is ok, no problem with it.

    How to fix it.

    Regards

Viewing 6 replies - 1 through 6 (of 6 total)
  • Same here

    Thread Starter asdamcener

    (@asdamcener)

    Hi,

    Fixed.

    To fix it, just add the following code inside [public static function character_encoding]

    ======================
    add_filter( ‘caldera_forms_csv_character_encoding’, function( $encoding, $form ){
    header(‘Content-Encoding: UTF-8’);
    header(‘Content-type: text/csv; charset=UTF-8’);
    header(‘Content-Disposition: attachment; filename=Customers_Export.csv’);
    echo “\xEF\xBB\xBF”; // UTF-8 BOM
    return $encoding;
    }, 10, 2);

    ==============

    Thread Starter asdamcener

    (@asdamcener)

    Hi asdamcener,

    Sorry for my basic question, but may you advise where can I find this [public static function character_encoding] to add the code in?

    Thread Starter asdamcener

    (@asdamcener)

    Hi,

    You have to edit util.php file by any text editor

    you can find it on the following path:

    public_html/wp-content/plugins/caldera-forms/classes/csv

    regards

    Faleh

    Thanks a lot. This really helped and make my life easier.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘(calderaforms) Export excel fixing’ is closed to new replies.