SET character_set_connection=newcharset; SELECT hex('text'); The above sequence failed in some cases.
Attach a file by drag & drop or click to upload