bug fix#1

fix barcode scanner would not read if there is a space in the text with
character conversion