+ Start a Discussion
Mohammed Zabi 1Mohammed Zabi 1 

download CSV File using Visualforce Page contentType="Charset=UTF-8;text/octet-stream#Account.csv

I would like to download CSV File using Visualforce Page for that in vf page we used  contentType="Charset=UTF-8;text/octet-stream#Account.csv;" but hear the text is in japanes language so now its showing junk value when i an oppning the csv file in excel.

please help me to download a csv file and open in right format
try UTF-16 as your Charset. 
Mohammed Zabi 1Mohammed Zabi 1
Thanks Balaji

   but still a aim getting junk values from visualforce page 
try setting contentType="text/xml#account.xls"