test for pinyin and qrcode