Bug 241841

Summary: Address book adds "\n" to field "Family Name"
Product: [Applications] kaddressbook Reporter: Martin L ü c h e m <Heinrich20>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: tokoe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Martin L ü c h e m 2010-06-15 19:30:22 UTC
Version:           unspecified (using Devel) 
OS:                Linux

When exporting an address book at the end of the field "Family Name" an "\n" will be added. There is no way to edit this within KAddressbook. The effect is, that e.g. serial letters in Open Office will not work (via OO database)

Reproducible: Didn't try




OS: Linux (x86_64) release 2.6.32-5-amd64
Compiler: cc
Comment 1 Martin L ü c h e m 2010-06-15 19:33:00 UTC
This is version KDE 4.4.4
I cannot select this!
Comment 2 Martin L ü c h e m 2010-06-15 19:34:11 UTC
The wrong character will only be shown when exporting to csv
Comment 3 Tobias Koenig 2010-06-17 15:14:48 UTC
Hej,

I can't reproduce the described behaviour, neither with the version from 4.4 branch
nor with current version from SVN trunk.
The CSV export code has no statement to add an additional '\n' to a field, so I guess
your family name contains the '\n' already and it is just correctly exported.
Btw, does it really contain a literal '\n' or a byte with character code 10?

Ciao,
Tobias