Package: jpilot
Version: 0.99.8-0.99.9-pre-20060518-1
Severity: normal

When exporting appointments with non ascii content there are two
problems with jpilot that are caused by improper handling of non ascii
characters:

1) The summary field is truncated after 51 octets even if that is in
   the middle of a multi byte character. In the best case, this leaves
   us with illegal utf-8 in the export.

2) The description field is folded after 61 octets even if that is in
   the middle of a multi byte character.

   RFC 2445 says "... a long line can be split between any two
   *characters* by inserting a CRLF..." (emphasis mine), so this is
   not allowed, however it is not as serious as 1 in my opinion as the
   rfc also says "When parsing a content line, folded lines MUST first
   be unfolded..." so a compliant program reading the icalendar file
   will still manage to interpret it properly despite this problem.

How to reproduce:
Create an appointment with description:
"asciiasciiasciiasciiasciiasciiasciiascii nonasciiÅÄÖ ÅÄÖ" (without
the quotes) and export the calendar to icalendar format.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=C, LC_CTYPE=sv_SE.ISO8859-1 (charmap=ISO-8859-1)

Versions of packages jpilot depends on:
ii  debconf [debconf-2.0]        1.5.1       Debian configuration management sy
ii  libatk1.0-0                  1.11.4-2    The ATK accessibility toolkit
ii  libc6                        2.3.6-7     GNU C Library: Shared libraries
ii  libcairo2                    1.0.4-2     The Cairo 2D vector graphics libra
ii  libfontconfig1               2.3.2-5.1   generic font configuration library
ii  libglib2.0-0                 2.10.2-1    The GLib library of C routines
ii  libgtk2.0-0                  2.8.17-2    The GTK+ graphical user interface 
ii  libpango1.0-0                1.12.1-2    Layout and rendering of internatio
ii  libpisock8                   0.11.8-22   Library for communicating with a P
ii  libx11-6                     2:1.0.0-6   X11 client-side library
ii  libxcursor1                  1.1.5.2-5   X cursor management library
ii  libxext6                     1:1.0.0-4   X11 miscellaneous extension librar
ii  libxfixes3                   1:3.0.1.2-4 X11 miscellaneous 'fixes' extensio
ii  libxi6                       1:1.0.0-5   X11 Input extension library
ii  libxinerama1                 1:1.0.1-4   X11 Xinerama extension library
ii  libxrandr2                   2:1.1.0.2-4 X11 RandR extension library
ii  libxrender1                  1:0.9.0.2-4 X Rendering Extension client libra

Versions of packages jpilot recommends:
ii  jpilot-plug 0.99.8-0.99.9-pre-20060518-1 plugins for jpilot (Palm Pilot des

-- debconf information:
* shared/pilot/port: ttyUSB0

Reply via email to