simple-qrcode
simple-qrcode copied to clipboard
Email QRCode shows "+" instead of spaces in subject and body
Hi, I see this has been reported before but I still have it. When generating a QR code using the email function, if subject and body have space and scan the QR code using Iphone, the Mail app of Iphone will convert all space to "+". This doesn't occur on Android
Here's an example SVG file:
If instead of leaving the spaces you correctly URL-encode the URL before passing it to the QR code, so that the spaces are percent-encoded (e.g. mailto:[email protected]?subject=Testing%20a%20multi-word%20subject)
Does that work?