Open electrosaeed opened 4 months ago
That's correct. The Numeric and Alphanumeric modes are (intentionally) highly constrained.
Sorry. :s
Thanks, but is it possible for me to add them (\r\n) to one of the Numeric or Alphanumeric?
No, it's a widely adopted standard. :)
If you add them, your QR code will be read incorrectly when scanned by any other QR scanning software...
I believe your answer is correct, but because it is important for me I asked the chatGPT this question. this is the answer:
"In modes 1 (Numeric) and 2 (Alphanumeric) in QR code, you cannot directly insert a new line character. However, you can use ASCII code for the newline character, which is equivalent to 10, and include it as text in your input. For example, if you want to insert a new line after the number 100 in mode 1 (Numeric), you can use the ASCII code for the newline character, which is equivalent to 10, and include it as text in your input."
Do you think it is possible?
I don't, but you can try. :)
Here is some info I found useful when implementing it:
Hi, Is it possible to add "carriage return" to Numeric mode? It seems it is not exist in ALPHANUMERIC too. So we should use Byte mode to have \r char.