[Pkg-gpe-maintainers] Bug#536094: vcard export does not encode utf-8

martin f krafft madduck at debian.org
Tue Jul 7 15:39:20 UTC 2009


Package: gpe-contacts
Version: 0.49-1
Severity: normal

Contact data exported to vCards are not encoded properly. Instead,
UTF-8 is written to the file directly, but nowhere is the charset
declared:

BEGIN:VCARD
PROFILE:VCARD
FN:Martin F. Krafft
N:Krafft;Martin;;;
LABEL;TYPE=work:ascasc\nascasc\nasc\nascää²³éÿä²
PRODID:-//GNOME//NONSGML MIME Directory Library 0.4.2//EN
REV:20090707T152527Z
VERSION:3.0
END:VCARD

Arguably, RFC 2426 states that over version 2.1, VCARD 3.0 means
that

  The [VCARD] CHARSET type parameter has been eliminated. Character
  set can only be specified on the CHARSET parameter on the
  Content-Type MIME header field.

However, this makes most existing software unable to handle the
exported vCards, since files don't get a Content-Type MIME header.

I don't know what the proper fix is.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-rc5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gpe-contacts depends on:
ii  gpe-icons                     0.25-1     Common icons used by GPE programs
ii  libatk1.0-0                   1.26.0-1   The ATK accessibility toolkit
ii  libc6                         2.9-19     GNU C Library: Shared libraries
ii  libcairo2                     1.8.8-2    The Cairo 2D vector graphics libra
ii  libcontactsdb0                0.5-4      shared library for accessing gpe-c
ii  libdbus-1-3                   1.2.14-3   simple interprocess messaging syst
ii  libdbus-glib-1-2              0.80-4     simple interprocess messaging syst
ii  libeventdb2                   0.90-4     library that provides access to gp
ii  libglib2.0-0                  2.20.4-1   The GLib library of C routines
ii  libgpepimc0                   0.9-2      category management for GPE applic
ii  libgpevtype1                  0.50-4     data interchange library for GPE a
ii  libgpewidget1                 0.117-1    GPE Palmtop Environment widget lib
ii  libgtk2.0-0                   2.16.4-1   The GTK+ graphical user interface 
ii  libmimedir-gnome0.4           0.4.2-1    MIME Directory Profile implementat
ii  libpango1.0-0                 1.24.3-1   Layout and rendering of internatio
ii  libsqlite0                    2.8.17-4   SQLite shared library

gpe-contacts recommends no packages.

gpe-contacts suggests no packages.

-- no debconf information


-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.alioth.debian.org/pipermail/pkg-gpe-maintainers/attachments/20090707/5c955ef4/attachment.pgp>


More information about the Pkg-gpe-maintainers mailing list