#16948: Fix quopri encoding of non-latin1 character sets.
Merge: #16948: Fix quopri encoding of non-latin1 character sets.