Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem with french character display in Excel file

843838Mar 16 2007 — edited Mar 16 2007
In my program I am exporting the french content into one excel file from JSP through the following meta code.

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >

the characters in french are not getting displayed properly like display of junk characters instead of french ones.

when the page is displyed in HTML. it is proper but when i do export the page to excel with the following

String mimeType = "application/vnd.ms-excel";
response.setContentType(mimeType);

Junk characters get displayed in Excel

~Aman
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 13 2007
Added on Mar 16 2007
3 comments
511 views