Sep 26
Marc Vos Attachments received with special characters in file name not recognized
Sep 26, 2014; 12:44
Marc Vos
Attachments received with special characters in file name not recognized
Hi,
I have a small problem and I was wondering if anyone has a solution.
We are pulling Excel files from a central email address and someone has sent the file 'Avis f=FCr den xx.xx.xx.xlsx'
It this case
#part->content_type('name')
does not return the name, it returns an empty string.
But when I do
#part->content_type
it returns this:
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; name= "Avis f=FCr den xx.xx.xx.xlsx"
where I see the 'name' pair.
What parameter can I add where so #part->content_type('name') returns the name?
Otherwise the only Q&D solution I see is to remove all non-ASCII 7 characters from #part->content_type and then filtering out the name part myself.
- -
Thanks,
Marc
#############################################################
Attend the Lasso Developer Conference 2014!
October 1-3, 2014 at Treefrog HQ, Newmarket, Ontario, Canada
http://www.lassosoft.com/LDC-newmarket-2014
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Sep 26
Jolle Carlestam Re: Attachments received with special characters in file name not recognized
Sep 26, 2014; 07:55
Jolle Carlestam
Re: Attachments received with special characters in file name not recognized
Sep 26
Marc Vos Re: Attachments received with special characters in file name not recognized
Sep 26, 2014; 14:10
Marc Vos
Re: Attachments received with special characters in file name not recognized
Sep 26
Jolle Carlestam Re: Attachments received with special characters in file name not recognized
Sep 26, 2014; 08:16
Jolle Carlestam
Re: Attachments received with special characters in file name not recognized
Sep 26
Marc Vos Re: Attachments received with special characters in file name not recognized
Sep 26, 2014; 14:46
Marc Vos
Re: Attachments received with special characters in file name not recognized