Forum Discussion
Peter_Lowdon
Aug 11, 2022Altocumulus
HTTP::payload collection mangling UTF-8 characters
hi f5'ers, The HTTP::payload command doesn' seem to ba able to handle UTF-8 encoded characters. When I capture the HTTP payload into a variable and then manipulate it and update the HTTP payload be...
Aug 13, 2022
Hello Peter,
Have you tried this?
"Note that the argument will be interpreted as a byte array. If it is actually a UTF-8 string with multibyte characters, the output will not be what you expect. In order to prepare a UTF-8 string for use as input to HTTP::payload replace, you should first run ‘binary scan c* throwawayvariable’."
REF - https://clouddocs.f5.com/api/irules/HTTP__payload.html
This could also help:
https://support.f5.com/csp/article/K22406348
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects