Not just this, the text inside of the file should be utf-8 encoded... Where
this file come from (which software generate it)?

You have to make sure that it is generated correctly (right encoding), in
thunderbird for instance you can specified it if I remember. In outlook it
may be impossible, so you will have to convert it mannually.

In linux you have utility for that :

iconv

http://superuser.com/questions/193312/how-do-i-change-character-encoding-of-a-text-file-in-openoffice-org-writer

You will have to adapt for your case though

You could try first to just reproduce a subset of the file by creating a
new .ics file manually with a couples of rows, to make sure that encoding
is the source of your issue or just try to convert your file (make backup
of the original).

Hope it helps

Richard


On Wed, Oct 2, 2013 at 2:22 AM, Annet <[email protected]> wrote:

> 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.
>

-- 
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.

Reply via email to