Forum Discussion
PeterLechner_25
Nimbostratus
Mar 01, 2016Logging UTF Response
Hi,
I'm trying to log the response of a specific page. I'm using HTTP::payload which works unless the response is not in ASCII characters.
What alternative can I use to gather responses in UTF?
Thanks,
5 Replies
- Vernon_97235Historic F5 Account
You may find the following references useful:
- https://devcentral.f5.com/questions/modify-utf-8-strings-in-payload
- https://devcentral.f5.com/questions/utf-8-encoding-supported
If not, what is the specific iRule you are trying to use?
- Peter_Lechner_2
Nimbostratus
Thanks for your response. What I'm trying to do is log information for a specific page; however the response language may not be in standard alphabet (i.e. Chinese) and the HTTP:payload is not returning the UTF information. It looks like to use Stream would be my solution; however I'm unclear on how to gather the data.
- VernonWells
Employee
You may find the following references useful:
- https://devcentral.f5.com/questions/modify-utf-8-strings-in-payload
- https://devcentral.f5.com/questions/utf-8-encoding-supported
If not, what is the specific iRule you are trying to use?
- Peter_Lechner_2
Nimbostratus
Thanks for your response. What I'm trying to do is log information for a specific page; however the response language may not be in standard alphabet (i.e. Chinese) and the HTTP:payload is not returning the UTF information. It looks like to use Stream would be my solution; however I'm unclear on how to gather the data.
- Hi Peter, when special character are used, it could be required to perform certain things using HEX or binary replacements/conditions. To help you further please provide your current iRule and a HEX representation of the special chars you're looking for. Cheers, Kai
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