The _detect_content_type method (called by the QRCode constructor) is dependant on the shiftjis encoding being present. On some Python installations this code will fail (we have a minimal Python setup with buildroot, excluding the Japanese and Chinese encodings to save file storage space).
I want the QRCode constructor to survive this condition by reverting back to 'binary' encoding.
The _detect_content_type method (called by the QRCode constructor) is dependant on the shiftjis encoding being present. On some Python installations this code will fail (we have a minimal Python setup with buildroot, excluding the Japanese and Chinese encodings to save file storage space).
I want the QRCode constructor to survive this condition by reverting back to 'binary' encoding.