Forum Discussion
Hans_Schneider2
Nimbostratus
Jul 23, 2013UTF8 Encoding Problem
Hello,
I need to add some string to a payload that is in UTF8 encoding.
When I am using any command after HTTP::collect - all the characters displayed wrong.
I found a topic about this...
Kevin_Stewart
Employee
Jul 23, 2013A couple of observations:
1. There are generally TWO ways to alter HTTP payloads: STREAM and HTTP::collect/payload. Once you've collected all of the required payload, you can use any manner of string manipulation or regex to manipulate the data. A STREAM profile is *almost* as flexible, but will usually run much faster than the other option.
2. You can use an iRule to manipulate a STREAM profile, and only add a generic (blank) STREAM profile to the virtual server configuration.
3. Both HTTP::collect/payload and a STREAM profile/iRule are going to work with string data. If you're having UTF8 issues with one, you'll likely have the same problem with the other.
4. Whether adding a STREAM profile or an iRule, you're modifying the virtual server configuration regardless.
Can you please elaborate on the UTF8 issue?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
