Zero width no-break space (U+FEFF) in clearsigned output message
David Shaw
dshaw at jabberwocky.com
Sat Nov 26 16:30:09 CET 2005
On Sat, Nov 26, 2005 at 06:01:49PM +0300, lusfert wrote:
> Hi all.
>
> I wrote some text (with non-ASCII characters) in file encoded in UTF-8
> with BOM and save it.
> Then I decided to clearsign it:
>
> gpg --verbose -u 0x500B8987 --clearsign 1.txt
>
> When I open clearsigned 1.txt.asc I can find symbol U+FEFF (Zero width
> no-break space) before message, but after field "Hash:". Adding option
> -t does not change anything. But if source file is encoded in UTF-8
> without BOM, character U+FEFF doesn't appear in output clearsigned text.
U+FEFF is the BOM character. It was in the original document, so it's
in the signed document as well.
David
More information about the Gnupg-users
mailing list