export data in csv format

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • farukcse
    New Member
    • Nov 2007
    • 52

    #1

    export data in csv format

    Dear Sir,
    I am facing a problem with exporting data . when i exported data the arabic characters comes with a invalid character set . i used utf8 encoding systeme in both of php files. so can any one tell me how can i keep the arabic text in a .csv xcel file after exporting? please reply.

    Regards,
    Faruk Chowdhury.

    [code]
    eader("Content-Disposition: attachment; filename=\"$fil e_name\"");
    header("Cache-Control: cache, must-revalidate");
    header("Pragma: public");
    header('Content-Type: text/xml, charset=UTF-8; encoding=UTF-8');

    $t ="س";
    echo $t;

    output: س.
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    It seems that no one read your thread or had any experience with this (I certainly have not). We are sorry we could not help you.

    Maybe next time.

    moderator

    Comment

    Working...