EasyCFM.COM ColdFusion Forums / Coding Help! / cfprocessingdirective pageencoding also not workin

   Reply to Discussion | New Discussion << previous || next >> 
Posted By Discussion Topic: cfprocessingdirective pageencoding also not workin

book mark this topic Printer-friendly Version  send this discussion to a friend  new posts last

gokul1242
05-24-2013 @ 10:34 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Member
Posts:
Joined: May 2013

Hi



I use the below code to export the data from ldap query to excel



<cfheader name="Content-Disposition" value="attachment; filename=Report.xls">

<cfcontent type="application/vnd.ms-excel">

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



But special characters appears as (?) symbol is excel sheet even though it displays correctly in browser


I even tried using <cfprocessingdirective pageencoding="utf-8" />



But still it appears same..



Pls advice

Webmaster
08-09-2013 @ 1:21 PM
Reply
Edit
Profile
Send P.M.
My Gravatar!
Powered by Gravatar
Administrator
Posts: 4542
Joined: Jan 2002

Define "special" characters... Unicode? is your DB insert
Unicode Supported?

insert into table ( field ) values ( N'value' )

?

Pablo Varando
Senior Application Architect
EasyCFM.COM, LLC.

904.483.1457 \\ mobile
webmaster@easycfm.com \\email

\m/ (>.<) \m/
--- rock on ---


Website Designed and Developed by Pablo Varando.