News for hackers. Stuff that matters.
Re:Show HN: URL Shortener Optimized for QR Code by flixic on Monday October 05, 2020 @03:18PM (#24691026)
Every content byte encodes to the same amount of squares. Error correction bytes are “appended”. The point about every string being equal in the same configuration of a QR code still applies. As such, the shorter URL, the better.
Re:Show HN: URL Shortener Optimized for QR Code by tinus_hn on Monday October 05, 2020 @05:53PM (#24692459)
Not every string uses the same amount of content bits per character.

If you use only numbers you use 3 1/2 bit per character, if you use only numbers, uppercase letters and some limited punctuation it’s 5 1/2 bits per character. Otherwise it’s 8 bits per character but that’s a waste because most of the characters you can then represent can’t be used in a URL.