Hi Richard,
Thanks for your reply.
Could it be possible that this file is not encoded in utf-8 and that you
> read it as if it was in utf-8 (imagine a question mark I can t type it :)
>
You mean I have to put this line:
# coding: utf8
at the beginning of the view that contains:
{{response.headers['Content-Disposition'] =
'attachment;filename=event_%s_%s.ics' % (IS_SLUG()(name)[0],
row.startDate.strftime("%d-%m-%Y"))}}
Kind regards,
Annet
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.