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...
Hans_Schneider2
Nimbostratus
Jul 24, 2013You are right.
But when I checked it using Stream the problem did not occured. The issue is I am not allowed to use Stream, only an irule, so i have to use
Http::collect method.
The payload in UTF8 (it is the charset defined in the header of Http request), that i have to change with the irule, contains characters that are not English.
In http::collect method when I am using some replace method or simply add in the end of the payload another string - all the characters in the page not represented correctly anymore (each character corrupted in some way).
And a cannot convert the string that i am adding to payload into UTF8 since "encoding" tcl command is disabled in F5 irules.
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
