>From the documentation regarding the chl parameter for QR Code charts: "The data to encode. Data can be digits (0-9), alphanumeric characters, binary bytes of data, or Kanji. You cannot mix data types within a QR code. The data must be UTF-8 URL-encoded. Note that URLs have a 2K maximum length, so if you want to encode more than 2K bytes (minus the other URL characters), you will have to send your data using POST."
Make sure everything is URL-encoded http://www.blooberry.com/indexdot/html/topics/urlencoding.htm Cheers! ~Elijah On Mon, Jun 27, 2011 at 11:10 AM, DougD <[email protected]> wrote: > Can someone help me please? I'm trying to create a QR within an <img> > tag that passes variable to the URL that I'm creating in the CHL value > but it appears that anything I try won't work when I test the QR that > is generated. > > Here is a sample: > <img src="https://chart.googleapis.com/chart? > cht=qr&chs=200x200&chl='http://www.mywebsite.com? > qid=234&Lname=Baxter&DPur=04/01/2011'&choe=UTF-8&chld=H| > 4&chid=2"> > > The rendered QR information stops after the "qid=234" value. I've > tried to use single ticks (as shown above) and even tried using & > in my URL and nothing that I've tried seems to work. > > I'm sure that I'm missing something easy here. > > Thanks for your quick respons to this issue. > > Doug > > -- > 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. > > -- 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.
