[PATCH] w32: Improve foreground window activation.

Jacob Bachmeyer jcb62281 at gmail.com
Fri Jul 3 03:33:06 CEST 2026


On 7/2/26 04:22, Werner Koch via Gnupg-devel wrote:
> Hi!
>
> Thanks for the patch.  I just applied it.  However I had again problems
> to to pass the patch to git and instead retyped it.  The problem are
> dozens of these characters:
>
>              character:   (displayed as  ) (codepoint 160, #o240, #xa0)
>                charset: unicode (Unicode (ISO10646))
> code point in charset: 0xA0
>                 script: latin
>                 syntax:   	which means: whitespace
>               category: .:Base, b:Arabic, j:Japanese, l:Latin
>
>    name: NO-BREAK SPACE
>    old-name: NON-BREAKING SPACE
>    general-category: Zs (Separator, Space)
>    decomposition: (noBreak 32) (noBreak ' ')
>
> A simple replace by space did not worked.  What is TB doing?

I am not entirely certain, but I have seen this behavior. Thunderbird 
appears to convert runs of multiple spaces to some combination of spaces 
and non-breaking spaces.  For example, I space twice between sentences 
and expect that those will go out as either 0x20 0xA0 or 0xA0 0x20.  (I 
forget which order it uses.)

I *think* that Thunderbird behaves differently if the text is
in a "Preformat" block.  This is an example.  I typed it in
"Preformat" style and broke the lines manually.

When pasting patches or other pre-formatted text into Thunderbird, I 
have developed the habit of (1) starting a new paragraph, (2) changing 
the style for that paragraph to "Preformat", (3) typing the "8<------" 
lines, then (4) pasting the text between the scissor lines.


-- Jacob

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20260702/5d9b6990/attachment.html>


More information about the Gnupg-devel mailing list