|
From: | Jose E. Marchesi |
Subject: | Re: PATCH: provide %c and %u8c formatting in pickle printf() |
Date: | Mon, 30 Sep 2019 19:26:31 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Errata: Some terminals that do understand UTF-8 might not be happy with characters >= 0x7f, so instead of pk-dump.pk:86: if (v < ' ') this should probably be if (v < ' ' || v > '~') Makes sense. (I would've expected that if (v < ' ' || v > 0x7f) should work, but it does not and I don't know pickle enough yet to understand why) You mean (v < '' || v >= 0x7f) ? According to ASCII(7): 176 126 7E ~
[Prev in Thread] | Current Thread | [Next in Thread] |