hi ,

  I am when trying to export via excel file  ,the data in arabic is visible in excel but the title is not coming in arabic but junk .

I am passing a utf-8 encode string for title from my jsp .

like this 

String titleT=new String("ÓíÑíÓÈ");
 request.setAttribute( "test",  rec );
 

 
 %>
<body>

<h2>Data exporting</h2>

  <display:table name="test" pagesize="10" export="true"   id="currentRowObject">
    <display:setProperty name="export.rtf.filename" value="example.rtf"/>
    <display:column property="transno" title="<%=titleT%>" />
    <display:column property="transDate" />
    <display:column property="ticker" />
    <display:column property="price" format="{0,number,#,000}" />
  <display:column property="qty" format="{0,number,0,000}" />
   <display:caption media="html">
      <strong>ÓíáÇÓíáÈáÓÊ</strong>
    </display:caption>
<display:caption media="excel pdf rtf">A Caption</display:caption>

    <display:column media="html" title="URL">
      <%="23456"%>
    </display:column>
    <display:setProperty name="export.pdf" value="true" />
  </display:table>

 

thanks in advance for help  

 

 

 


 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to