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 Bookmark and Share

Is it possible to use UTF-8 encoding of data in PDF417 2D barcode?


We use CrystalReports 2011 with this barcode properties: font IDAutomationPDF417n3, size 6, Error Correction 4, columns 9, max. size of barcode image is 5.8cm x 2.6 cm. Part of CR formula is

numberVar Segments:= IDAutomationPDF417EncoderPDFSet({@ffCp_Pdf417}, 4, 9, 0, 0, 0, 0);

Barcode should be UTF-8 encoded.
When I create barcode and read it, croatian letters are shown as other symbols (Æ, È,...). Correct croatian letters are shown in uploaded image named "Croatian symbols".
I've tried with Apply Tilde parameter but it didn't help.
I have an example barcode that is correct and it is shown in image named "Good example". The data in that example barcode is shown in image named "Example data". (I've tested barcode on website http://online-barcode-reader.inliteresearch.com/default.aspx)
So, what should I do to encode data in UTF-8?

Thanks in advance.


Photo Details
Title: Croatian symbols
Photo Details
Title: Good example
Photo Details
Title: Example data

06-10-13     2590 day(s) ago    

  Report Abuse

 

James

Best Answer

To properly encode Unicode characters above U+007F in 2D barcodes such as PDF417, they must first be expanded into a string of bytes and then encoded in binary mode. In addition, the decoder must be able to properly decode the data. IDAutomation offers native UTF-8 encoding Crystal Reports formulas for PDF417, Data Matrix and QR Code either by request, or for any product with a release date of May 2020 or later. To obtain the native UTF-8 encoding Crystal Reports formulas open a private incident with your order number. More about Unicode UTF-8 Encoding.

To encode PDF417 in binary mode, refer to the PDF417 User Manual's Crystal Reports section, the function definition is:

IDAutomationFontEncoderPDF417Set(DataToEncode As String, EcLevel As Integer, TotalColumns As Integer, TotalRows As Integer, Truncated As Integer, PDFMode As Integer, ApplyTilde As Integer)

For international characters, encode the data using binary encoding. This option encodes all data, byte-by-byte.

Indicate (PDFMode = 1 for Binary):

IDAutomationPDF417EncoderPDFSet({@ffCp_Pdf417}, 4, 9, 0, 0, 1, 0);

Posted 2590 day(s) ago

(0)
(0)
  Report Abuse
 
Find Interesting
 
Email to Others
 
Bookmark
 
Subscribe to Answer Alert
No comments yet.     Be the first to comment.

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 2019 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