While trying to dynamically create qr codes for some client sites I have found that some types of URL's don't fully encode with the QR creator.. http://chart.apis.google.com/chart?cht=qr&choe=UTF-8&chs=300x300&chl=... produces a QR code for http://chart.apis.google.com/chart?cht=qr&choe=UTF-8&chs=300x300&chl=... You can substitute /showcaseproductdetail.htm?ID=157729&Used=1& and get /showcaseproductdetail.htm?ID=157729 with the same inaccurate results. This is a very inconvenient issue since the links that don't produce the right QR are their product links. I know that the link has to be converted somehow so that it would read with characters like this: http://chart.apis.google.com/chart?cht=qr&chs=350x350&chl=online_stor... Unfortunately I have not found a way to do that with any kind of simple, self-enclosed, method [See Below] and it's looking like I won't. changing the choe value and moving it around doesn't seem to have any effect at all. From what I can tell jQuery or zxing could do it but again, I am no kind of programmer. I have been so confounded by this I was considering trying to work out a link shortening solution, as of now I am trying to follow all the way through to keep my original approach. ----- PLEASE Someone help me with a suggestion. At the very least a clue or hint to what I am not seeing. This is the script I am using to create QR's for the pages: <script language="JavaScript"> document.write ("<a href=http://chart.apis.google.com/chart? cht=qr&chs=300x300&chl="+location.href+"?qr target=_blank> <img height=300 width=300 border=0 src=http://chart.apis.google.com/ chart?cht=qr&chs=300x300&chl="+location.href+"?qr></a>") </script>
-- You received this message because you are subscribed to the Google Groups "Google Chart API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-chart-api?hl=en.
