QRCode Carriage Return and TAB

8,710 views
Skip to first unread message

Joe

unread,
Jan 13, 2011, 11:43:01 AM1/13/11
to Google Chart API
I can't seem to get carriage returns or breaks to work in my qrcode.
maybe it's an option on the scanner, I am using a honeywell 4820
scanner... but I think it is probably just me not using the correct
character. can anyone advise?

Thanks!
Joe

duniyadnd

unread,
Jan 13, 2011, 8:16:35 PM1/13/11
to google-c...@googlegroups.com
You probably aren't urlencoding it:

Carriage return should be %0A
Tab should be %09

Joe

unread,
Jan 14, 2011, 4:53:39 PM1/14/11
to Google Chart API
that was it!!! Thanks... so would F7 key be %76

duniyadnd

unread,
Jan 14, 2011, 6:32:46 PM1/14/11
to google-c...@googlegroups.com
If you're referring to the Function keys, I don't believe that's supported as that is not necessarily outputted as a character on the screen but is an action - but I'd be happy to see someone correct me on that.

If you're referring to just the letter F and 7, then F7 should suffice.

%76 should return v

You can use the following site to see how to what the characters look like if you urlencode.

http://meyerweb.com/eric/tools/dencoder/

What language are you using to create your strings? A large set of them have inbuilt libraries that support this - e.g. php has urlencode(), Python has urllib.urlencode etc.

Brian Edginton

unread,
Jan 13, 2011, 11:50:07 AM1/13/11
to google-c...@googlegroups.com
Do you mean when you create the QR Code or when you read it? If the
latter, have you tried to read it with another scanner
(iPhone/Droid/etc)?

--edge

> --
> You received this message because you are subscribed to the Google Groups "Google Chart API" group.
> To post to this group, send email to google-c...@googlegroups.com.
> To unsubscribe from this group, send email to google-chart-a...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-chart-api?hl=en.
>
>

Reply all
Reply to author
Forward
0 new messages