Problem encoding Euro symbol in datamatrix barcode

Issues related to using our fonts in Crystal Reports

Problem encoding Euro symbol in datamatrix barcode

Postby lorenzoc on Mon Jan 12, 2015 10:02 am

Hi all,I'm using Morovia Datamatrix fonts with Crystal Reports 2013.
In some cases I have a code that contains the "€" (euro) symbol, when I try to read barcodes containing this character I get another symbol ("?" or in some cases "¬" (ascii 172)).
How can I properly encode such character so that I can 'read' it correctly?
Thanks for your help.
lorenzoc
 
Posts: 4
Joined: Mon Jan 12, 2015 9:50 am

Re: Problem encoding Euro symbol in datamatrix barcode

Postby glitch on Mon Jan 12, 2015 10:27 am

What kind of reader did you use to read the barcode?
The information above is provided "AS IS", with no warranties, and confers no rights.
User avatar
glitch
Support Engineer
 
Posts: 198
Joined: Wed May 14, 2008 2:42 pm

Re: Problem encoding Euro symbol in datamatrix barcode

Postby lorenzoc on Mon Jan 12, 2015 10:56 am

I use a Gen2Wave RP1200 PDA.
Do you think it's a problem on the reader side?
lorenzoc
 
Posts: 4
Joined: Mon Jan 12, 2015 9:50 am

Re: Problem encoding Euro symbol in datamatrix barcode

Postby glitch on Mon Jan 12, 2015 11:42 am

Data matrix standard does not support encoding Unicode characters. Data matrix encodes a series of bytes and those bytes with value > 127 are interpreted according to ISO8859-1.

If you have no control over the reader, I suggest that you avoid Unicode characters and treat the value received as bytes, instead of characters.

I am not sure about your phone. However if you are using Android or IPhone to scan barcodes, you may consider to use QRCode instead. Although QRcode standard does not support Unicode either, an extension makes it possible to encode Unicode string into QRCode and read by Android/IPhone readers (http://www.morovia.com/manuals/qrcode-f ... pendix.php).
The information above is provided "AS IS", with no warranties, and confers no rights.
User avatar
glitch
Support Engineer
 
Posts: 198
Joined: Wed May 14, 2008 2:42 pm

Re: Problem encoding Euro symbol in datamatrix barcode

Postby lorenzoc on Mon Jan 12, 2015 12:44 pm

I can't avoid these characters, and I have no control over the reader, and I can't use QRCode :)
So what I think I'm goin' to do is apply a sort of transformation function for these symbols before the barcode print, and apply a reverse function to the read data. Fortunately it's only 3 symbols as far as I know.
Thank you for your support.
lorenzoc
 
Posts: 4
Joined: Mon Jan 12, 2015 9:50 am


Return to Crystal Reports

Who is online

Users browsing this forum: No registered users and 1 guest