I have VF Page and I manage to export it as CSV file. However, when I try to name the file with asian characters (japanese, chinese etc ...) , it does not show.

VF Page:

<apex:page controller="MyController" cache="true" contentType="text/csv;charset=Shift_JIS;#{!csvName}">{!myData}</apex:page>


In controller, I set csvName = "レポート_Test.csv"

The csv file is exported with name  _Test.csv , word レポート is not rendered. Can anyone help me on this ? Thanks,


You need to change the format of the file from CSV to CSV UTF-8

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.