Public bug reported:

$ echo r.fässlin...@somewhere.com | qprint -e | od -c
0000000   r   .   f   =   C   3   =   A   4   s   s   l   i   n   g   e
0000020   r   @   s   o   m   e   w   h   e   r   e   .   c   o   m  \r
0000040  \n
0000041

The "\r" confuses any addition of prefix "<=?UTF-8?Q?" and suffix "=>"
when creating a quoted-printable email encoding, so that the suffix
appears at the start of the string.

Piping to "tr -d '\r'" resolves the issue, but shouldn't be necessary.


$ lsb_release -rd
Description:    Ubuntu 22.04.3 LTS
Release:        22.04

$ qprint --version
qprint 1.1
Last revised: 16th December 2014

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  qprint emits dos-style \r \n

Status in linux package in Ubuntu:
  New

Bug description:
  $ echo r.fässlin...@somewhere.com | qprint -e | od -c
  0000000   r   .   f   =   C   3   =   A   4   s   s   l   i   n   g   e
  0000020   r   @   s   o   m   e   w   h   e   r   e   .   c   o   m  \r
  0000040  \n
  0000041

  The "\r" confuses any addition of prefix "<=?UTF-8?Q?" and suffix "=>"
  when creating a quoted-printable email encoding, so that the suffix
  appears at the start of the string.

  Piping to "tr -d '\r'" resolves the issue, but shouldn't be necessary.

  
  $ lsb_release -rd
  Description:  Ubuntu 22.04.3 LTS
  Release:      22.04

  $ qprint --version
  qprint 1.1
  Last revised: 16th December 2014

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


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

Reply via email to