New User? Sign Up  |  Sign In  |  Help
Barcode support and
tutorials from IDAutomation
and the community.
Click for the BBB Business Review of this Computers Hardware, Software & Services in Tampa FL
Resolved Questions

QR Code encoding the special characters such as &, # or '


Sometimes a company name will have a special symbol such as &. For example, P&G. If the QR code has this, the string after the & will be chopped off.

Is there a way to encode this kind of symbol?

The way we are using is http://ourservername/IDAutomation/IDAutomationStreamingQRCode.aspx?I=1BMP&barcode=00123456^P&G^Yan^Ton" and the data after & will be chopped off when reading it.

Please advise.

Thanks

Operating System: Windows 7

Application: Crystal Report

11-12-14     9.9 year(s) ago    

  Report Abuse

 

James

Best Answer

It seems Crystal is filtering out any form of the &. You might have to contact SAP and ask if there is a separate character or a way around this limitation of Crystal Reports.

Posted 9.9 year(s) ago

(0)
(0)
  Report Abuse
 
Find Interesting
 
Email to Others
 
Bookmark
 
Subscribe to Answer Alert
No comments yet.     Be the first to comment.
Other Answers (9)
this is the one I generated in the Crystal report (screenshot) when using the same url. it is different from the one generated in a browser.

please let me know.

Thanks

Yan

image

Posted 9.9 year(s) ago

(0)
(0)
   Report Abuse
Hi James:
I looked at the one from http://bcgen.com/demo/IDAutomationStreamingQRCode.aspx?I=1BMP&D=00123456^P%26G^Yan^Ton from the browser and the one I generated from my crystal report 11 by pasting this link to the crystal report 11. they are different. the one from the browser works but the one from crystal report does not work.

is there anything I can do to make it work in Crystal the same as the one in the browser? what I should set for the report? I thought they should work the same, but it seems like not.

Yan

Posted 9.9 year(s) ago

(0)
(0)
   Report Abuse
Since the forum does not show the URL correctly, here is the hyperlink. That will show the exact URL call made.

Posted 9.9 year(s) ago

(0)
(0)
   Report Abuse
Hi, this barcode works with our scanner. and it shows the correct data.

but the QR code generated using http://bcgen.com/demo/IDAutomationStreamingQRCode.aspx?I=1BMP&D=00123456^P%26G^Yan^Ton does not work. it only shows Demo 00123456^P

how did you generate the following QR code?

Yan

Posted 9.9 year(s) ago

(0)
(0)
   Report Abuse
Using this barcode:

image

If you get anything else but (ignoring the DEMO<CR><LF>, since it's a demo product):

00123456^P&G^Yan^Ton

Then it is your scanner (contact the manufacturer or refer to its manual) since the barcode is properly encoded.

Although the barcode is not proprietary to a specific scanner, we invite you to consider the SC7-USB which has many options and a feature called Print Quality Assessment, which gives graded information about 2D barcodes.

Posted 9.9 year(s) ago

(0)
(0)
   Report Abuse
I tried to use parameter D and still get the same result 00123456^P

I also tried to use your demo site http://bcgen.com/demo/IDAutomationStreamingQRCode.aspx?I=1BMP&D=00123456^P%26G^Yan^Ton

and I got the same result 00123456^P

Please advise.

Thanks

Posted 9.9 year(s) ago

(0)
(0)
   Report Abuse
The parameter for the DataToEncode is D=. When properly encoded (for the part after IDAutomationStreamingQRCode.aspx?):

I=1BMP&D=00123456^P%26G^Yan^Ton

It scans as:

00123456^P&G^Yan^Ton

Posted 9.9 year(s) ago

(0)
(0)
   Report Abuse
it does not work when I replace & with %26. http://ourservername/IDAutomation/IDAutomationStreamingQRCode.aspx?I=1BMP&barcode=00123456^P%26G^Yan^Ton

the data scanned is 00123456^P

Please let me know what else I should change.

Thanks

Yan

Posted 9.9 year(s) ago

(0)
(0)
   Report Abuse
Covered in the Barcode Streaming Product Does Not Encode Certain Characters post, the & symbol is reserved and can be represented with %26 in a URL call (this is shown to match the post):

image

The idea is the same with QR-Code URLs:
image

Posted 9.9 year(s) ago

(0)
(0)
   Report Abuse
Email this question link to friends
You must enter an email address, if name is entered or vice-versa for each friend.
Friend #1 -
Friend #2 -
Friend #3 -
Friend #4 -
Friend #5 -
  Your comment on this question
  |         |  
bold  italic  underline  strike       big  small       superscript  subscript 
  Allows to add a link. Added links would only be converted to actual clickable link, when the domain of the link is white-listed by administrator.
Caption :
Link URL :
(Must starts with "http://")
Add  |   Cancel
  Allow to insert an image. Must be among the following file types - *.jpg, *.gif, *.png & *.bmp.
Image Url :   Upload New
(Image url must always starts with " http:// ")
Width : pixels
(Must not be greater than 450px. Enter 0px for no resize)
Add  |   Cancel
  Allow to insert YouTube video. Insert the video embed code.
Embed Code :
Add  |   Cancel
Up to 5000 Characters are allowed. Current Count: 0
  Your comment on this answer
  |         |  
bold  italic  underline  strike       big  small       superscript  subscript 
  Allow you to add a link. Added links would only be converted to actual clickable link, when the domain of the link is white-listed by administrator.
Caption :
Link URL :
(Must start with "http://" or "https://")
Add  |   Cancel
  Allow to insert an image. Must be among the following file types - *.jpg, *.gif, *.png & *.bmp.
Image Url :   Upload New
(Image url must always start with "http://" or "https://")
Width : pixels
(Must not be greater than 450px. Enter 0px for no resize)
Add  |   Cancel
  Allow to insert YouTube video. Insert the video embed code.
Embed Code :
Add  |   Cancel
Up to 5000 characters are allowed. Current Count: 0

You may answer and comment on any thread according to the Terms and Conditions.

 © Copyright 2021 IDAutomation.com, Inc., All Rights Reserved. Legal Notices.

 Barcode Fonts | Components | Scanners | Support | Contact Us
Training Videos on YouTube Join us on Google Plus Join us on LinkedIn Follow us on Twitter Like us on Facebook