mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 11:12:35 +02:00
Ntfy notifications with camera snapshots failed when the printer name or filename contained non-ASCII characters. httpx enforces ASCII encoding on string header values, but the Title and Message headers can contain printer names with accented letters or CJK characters. Encode these header values as UTF-8 bytes, which ntfy handles correctly. Test notifications were unaffected because they use a hardcoded ASCII title and no image attachment.