mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2026-05-16 04:52:39 +02:00
6e58107a5e
- Replace character-based limit with byte-based limit using UTF-8 encoding - QR codes are limited by bytes, not characters (1 char can be 1-4 bytes in UTF-8) - Set limit to 2300 bytes (QR Code Version 40 with Error Correction Level M can hold ~2331 bytes) - Update error logging to show both character count and byte size for debugging - Apply fix to both PolycentricBackupActivity and QRCodeFullscreenActivity This should now correctly handle strings with multi-byte characters and provide accurate size validation for QR code generation.