Hi,
I am having problems with exporting chinese characters to csv files. =
When I try to export data to csv format, some of the characters are =
turned into some number (i.e. "请" etc...). And when I try to =
open the csv file in MS Excel (2002), the numbers could not be =
converted into the correct characters.
The following is the code I used to export the data ...
header ("Content-type: application/csv text\html charset=big5;\nContent-Disposition:
\"inline; filename=order.csv\"");
print "$data1,$data2,$data3,$data4\n";
Does anybody have an idea how to get around this? Or is there a way to =
export from PHP/MySQL to Excel directly?
Thanks in advance, any response will be greatly appreciated.
Thanks,
Hector
my setup is:
WinXP
Apache 1.3.27
PHP 4.3.2
MySQL 3.23