** Changed in: lbdb (Ubuntu)
       Status: Confirmed => Fix Committed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lbdb in Ubuntu.
https://bugs.launchpad.net/bugs/914572

Title:
  lbdb-fetchaddr truncates based on number of bytes, not characters

Status in lbdb package in Ubuntu:
  Fix Committed

Bug description:
  When feeding lbdb-fetchaddr a header that is UTF-8 encoded and longer
  than 30 bytes or so, it truncates the name, but based on the number of
  bytes, not the number of characters. This can result in byte sequences
  that are not valid UTF-8 strings.

  For example:

  echo 'From: 우리들이 누리는 카이스트우리누리 선거운동 본부 <emaila...@gmail.com>' | 
/usr/lib/lbdb/fetchaddr -c utf-8
  emaila...@gmail.com   우리들이 누리는 카�...  2012-01-11 11:34

  The charset argument is ignored when truncating. The result is
  m_inmail.list not being properly UTF-8 encoded.

  I am using lbdb 0.38 on Ubuntu 11.10.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lbdb/+bug/914572/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to