<html><body>

<p>hm, It seems as if my reply was aten:</p>
<p>Brad, I think its patch messing up the utf8 code.</p>
<p>Could you please move the utf-8 sequences in its own file, and load it instead of having it inline?</p>
<p>I don't think all compilers are to be utf-8 safe.</p>
<p> </p>
<blockquote>
<div class="message_header"><span>Mi Jan 06 2010 02:01:48 EST</span> <span>von  "Brad Hards" <bradh@frogmouth.net> </span> <span class="message_subject">Betreff: Re: [Freeassociation-devel] Problems with un-escaped characters in TZID</span></div>
<div class="message_content"><tt>On Wednesday 23 December 2009 18:43:22 Brad Hards wrote:</tt><br />
<blockquote><tt>Hi,</tt><br /> <tt></tt><br /> <tt>I work with the OpenChange project (<a href="http://www.openchange.org" target="webcit01">http://www.openchange.org</a>), which</tt><br /> <tt>provides (amongst other things) a tool that does conversion from Exchange</tt><br /> <tt>calendars to ICalendar. We use libical for that.</tt><br /> <tt></tt><br /> <tt>One of our users reported that newlines in timezones (TZID) aren't properly</tt><br /> <tt>escaped. Here is the original report:</tt><br /> <tt><a href="http://trac.openchange.org/ticket/218" target="webcit01">http://trac.openchange.org/ticket/218</a></tt><br /> <tt></tt><br /> <tt>It does indeed appear to be a problem with libical. Attached is a small</tt><br /> <tt>patch for the libical regression tests that shows the problem. Here is the</tt><br /> <tt>output I see with the current (trunk, revision 982) libical.</tt><br /> <tt></tt><br /> <tt>########## Test TZID escaping                       (43) ##########</tt><br /> <tt>DTSTART;VALUE=DATE;TZID=Timezone</tt><br /> <tt>with a newline:20090126</tt><br /> <tt></tt><br /> <tt>not ok 641 - test encoding of 'Timezone\nwith a newline'</tt><br /> <tt># test failed: ""</tt><br /> <tt>#          at: regression.c:1270</tt><br /> <tt>#      got: DTSTART;VALUE=DATE;TZID=Timezone</tt><br /> <tt>with a newline:20090126</tt><br /> <tt></tt><br /> <tt># expected: DTSTART;VALUE=DATE,TZID=Timezone\nwith a newline:20090126</tt><br /> <tt></tt><br /> <tt></tt><br /> <tt>I'm not very familiar with libical (just a user of the library), but it</tt><br /> <tt>looks like maybe icalparameter_as_ical_string_r() needs to handle the</tt><br /> <tt>CTLs?</tt><br /> <tt></tt><br /> <tt>Thoughts? Suggestions?</tt><br /></blockquote>
<tt>Ping?</tt><br /> <tt></tt><br /> <tt>Brad</tt><br /> <tt></tt><br /> <tt>------------------------------------------------------------------------------</tt><br /> <tt>This SF.Net email is sponsored by the Verizon Developer Community</tt><br /> <tt>Take advantage of Verizon's best-in-class app development support</tt><br /> <tt>A streamlined, 14 day to market process makes app distribution fast and easy</tt><br /> <tt>Join now and get one step closer to millions of Verizon customers</tt><br /> <tt><a href="http://p.sf.net/sfu/verizon-dev2dev" target="webcit01">http://p.sf.net/sfu/verizon-dev2dev</a> </tt><br /> <tt>_______________________________________________</tt><br /> <tt>Freeassociation-devel mailing list</tt><br /> <tt>Freeassociation-devel@lists.sourceforge.net</tt><br /> <tt>https://lists.sourceforge.net/lists/listinfo/freeassociation-devel</tt><br /> <br /></div>
</blockquote>
<p> </p>
</body></html>