diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2019-05-17 15:19:00 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-07-15 20:58:37 +0200 |
| commit | 874acb6f838a659cd010d0db4176e3f52d8f7a57 (patch) | |
| tree | 01d5921c78a9308df3dae95bae2fe20cdd39ddaa /python/qemu/qmp.py | |
| parent | 19752e09b4789f90721a96c4dcfa0d2e34510dfe (diff) | |
| download | focaccia-qemu-874acb6f838a659cd010d0db4176e3f52d8f7a57.tar.gz focaccia-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/qemu/qmp.py')
0 files changed, 0 insertions, 0 deletions