summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorPaolo Bonzini2019-05-17 15:19:00 +0200
committerPaolo Bonzini2019-07-15 20:58:37 +0200
commit874acb6f838a659cd010d0db4176e3f52d8f7a57 (patch)
tree01d5921c78a9308df3dae95bae2fe20cdd39ddaa /python
parenthw/lm32/Kconfig: Milkymist One provides a USB 1.1 Controller (diff)
downloadqemu-874acb6f838a659cd010d0db4176e3f52d8f7a57.tar.gz
qemu-874acb6f838a659cd010d0db4176e3f52d8f7a57.tar.xz
qemu-874acb6f838a659cd010d0db4176e3f52d8f7a57.zip
checkpatch: detect doubly-encoded UTF-8
Copy and pasting from Thunderbird's "view source" window results in double encoding of multibyte UTF-8 sequences. The appearance of those sequences is very peculiar, so detect it and give an error despite the (low) possibility of false positives. As the major offender, I am also adding the same check to my applypatch-msg and commit-msg hooks, but this will also cause patchew to croak loudly when this mistake happens. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <1558099140-53240-1-git-send-email-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions