Re: [Evolution-hackers] Calendar backend - charset?

Hi Chenthill,

On Tue, 2006-06-06 at 00:53 +0530, Chenthill wrote:
> Hi Jules,
> On Thu, 2006-05-18 at 14:43 +0200, Jules Colding wrote:
> > Hi,
> > 
> > How do I tell the calendar backend framework which charset is used in
> > the text fields for a particular event object?
> It needs to be set as a parameter for the MIME header Content-Type.


Is it a simple matter of doing:

        ECalComponent ecal_comp = get_the_ecalcomp_in_some_way_not_specified_here();
        icalproperty *icalprop = icalproperty_new_x("Content-Type: text/calendar; charset=UTF-8");
        icalproperty_set_x_name(icalprop, "X-LIC-MIMECONTENTTYPE");
        icalcomponent_add_property(e_cal_component_get_icalcomponent(ecal_comp), icalprop);


Please confirm or correct my ignorance.

Thanks a lot in advance,

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]