Forum Discussion
mikand_61525
Nimbostratus
Nov 22, 2008URI::decode and unicoded characters
When using URI::decode to filter uri-requests it seems like unicode characters such as C3%B6 (which is letter "ä") gets decoded into the two characters "├Â" instead of being kept as is.
Is there a way to after an uri has been decoded to encode it again but only the unicode stuff?
Because I assume I could solve this by using a string map to manually convert "├Â" into C3%B6 but there might exist other unicode characters so it would be nice if there existed some kind of URI::encode_unicode, perhaps there already is?
Maybe somebody on this forum already stumbled into this problem previously and has a nifty solution? :-)
- hoolio
Cirrostratus
Hi there, - mikand_61525
Nimbostratus
It seems like the TCL engine (used for irules by F5) will automagically turn any char that starts with %3C into a unicode character internally. This means that running "string map" and searching for %3C simply just wont work since the %3C character has been converted into some other combination. - Colin_Walker_12Historic F5 AccountI think if you want to send in a ticket you'll have to register first so they can contact you back and link other tickets you might create together.
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