Fixed generating payload with diacritic/multibyte characters