[eluser]dmorin[/eluser]
I'm creating a dynamic ics file and using the force_download helper to download it, however, the force_download helper is cutting off the last few lines. If I just echo the content directly to the screen, it's all there so it is definitely the download portion.
The only idea I have had is that it might have to do with the multi-byte characters that are included in the string, however, I'm overloading the strlen php function with mb_strlen and I even tried substituting it with mb_strlen in the download helper and that didn't work. I also tried manually adding in an encoding type of UTF-8 to the header and still nothing.
I saw one other post where someone else had this issue, but they didn't seem to find a solution. If anyone has any ideas, please let me know. Thanks.