Bug 82093 - Whitespace is converted to 0xA0 when copying from messages to clipboard
Summary: Whitespace is converted to 0xA0 when copying from messages to clipboard
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.6.2
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-24 10:38 UTC by Erik Sandberg
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Sandberg 2004-05-24 10:38:21 UTC
Version:           1.6.2 (using KDE KDE 3.2.2)
Installed from:    Debian testing/unstable Packages
OS:                Linux

When a message body contains a line starting with two or more consecutive whitespace (0x20) characters, then the first one is converted to 0xA0 in clipboard.

How to reproduce:

Create a new message, whose body contains only the text
foo
  bar
i.e. with exactly two whitespace (0x20) characters before 'bar'. Save the message in the 'drafts' folder; open the drafts folder, choose this new message (but don't start to edit it). Now mark the entire text of the message body, and choose "copy to clipboard". Open kedit (or any other editor), choose 'paste', and save the file as '/tmp/foo'. Now, execute 'less /tmp/foo'
and you will get the following output:
foo
<A0> bar
Expected behaviour is of course:
foo
  bar

(This bug is the same as #28580, which was closed almost 3 years ago. It should be re-opened)
Comment 1 Tom Albers 2004-07-22 22:14:35 UTC
Erik, I've followed your instructions with the current development version of KMail. The problem is not reproducable anymore. So this is fixed.