trim eancode for wrong characters