Mark Hammond wrote:
<snip>
> Note that Outlook and Outlook Express do even *worse* things.  IIRC, 
> Outlook replaces all tab characters with a *single* space.

Indeed they are worse... but Netscape 4.7 did exactly as expected, and I 
don't think we whould be modeling ourself on the wisdom of Microsoft 
rendering!!! <grin>

Both the selection of 4 spaces for the rendering and the fact that if 
you copy it paste it, the result will have those spaces rather than real 
tabs is a step back from Netscape 4 days.

> 
> However, I think you will find the code you are looking for is:
> 
> http://lxr.mozilla.org/seamonkey/source/mailnews/mime/src/mimetpfl.cpp#55
> and
> http://lxr.mozilla.org/seamonkey/source/mailnews/mime/src/mimetpfl.cpp#588
> 
> That is the definition of 4 spaces to one tab stop for "flowed text" 
> emails.  I can find no similar handling on the "plain text" converter.

As you say, this is right in the source code.  But it leads me to wonder 
why that choice was made -- clearly it was done intentionally.  To me, 
it makes little sense.  And the copy/paste issue is definately wrong. 
Thanks Mark.


Reply via email to