I am using fileDownloadActionListener as follows:
<af:fileDownloadActionListener contentType="text/plain; charset=ISO-8859-15"
filename="#{row.FileName}.txt"
method="#{backingBeanScope.backing_pages_general_files_download.downloadFile}"/>
The download works fine.
I have the application deployed on weblogic:
When I download the file from Windows deployment and open by notepad it shows encoding ANSI When I download the file from Linux deployment and open by notepad it shows UTF-8
But I need the encoding of the dowmloaded file to be ISO-8859-15.
Any help would be appreciated.
I did it in the following way:
UTF-8
formatISO-8859-15
ISO-8859-15
ISO-8859-15
formatjspx
that contains the view to contents of ISO-8859-15