test qrcode encoding