%c can take a + modifier in sscanf but not sprintf. There doesn't appear
to be a way to force unsigned encoding using sprintf, it just
automatically happens when there's a negative number presented. My concern
about this is that the operation isn't symmetric when used with sscanf.
Am I wrong in saying that the fact that %-F doesn't work is a bug?
Bill
On Wed, 22 Jun 2011, Mirar @ Pike developers forum wrote:
I didn't even know %c had a '+' modifier. What's that supposed to do?
It's normally used to add a '+' characters to formatted positive
numbers, not sure what that should accomplish in binary numbers?
The sscanf %-4F and %-8F have been non-working as far as I can
remember. The '-' does nothing for %F.