By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,996 Members | 896 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,996 IT Pros & Developers. It's quick & easy.

export data in csv format

P: 52
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=\"$file_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: س.
Jan 6 '08 #1
Share this Question
Share on Google+
1 Reply


ronverdonk
Expert 2.5K+
P: 4,258
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
Feb 15 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.