handle non-ascii payload