[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    [Bug 64537] tab character not converted to spaces;
From:       Daniel Phillips <phillips () redhat ! com>
Date:       2004-11-08 7:29:59
Message-ID: 20041108072959.7279.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
        
http://bugs.kde.org/show_bug.cgi?id=64537        




------- Additional Comments From phillips redhat com  2004-11-08 08:29 -------
I admit it, I'm a c++ klutz, however I think I've gone about as far as I can go
without building kdelibs and qt for debug also, which I don't want to do on my
workstation, maybe I'll try it later on the Gentoo box.

The badness has already happened in MessageComposer::breakLinesAndApplyCodec()
at text = mComposeWin->mEditor->text():

   (gdb) p text.ascii() 
   $23 = 0x8341500 " text"
   # this should have been "\ttext" 

which suggests the problem is deep in KEdit.  If I poke a tab into the string,
and continue, I get a complaint later that "Not all characters fit into the 
chosen encoding."  I chose "send anyway (and lose characters)", and lo, the tab 
made it through to the drafts folder.  The encoding is supposedly set to 
us-ascii.  Last time I checked, us-ascii had a tab.  Maybe this is a clue.
_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic