Julio_Vivero_48
Mar 23, 2006Nimbostratus
HTTP Payload replace - charset problem
Hi everyone,
I'm trying to use the HTTP payload replace irule that is available at this forum but i'm facing the following problem:
The web where i'm trying to use this irule is encoded with iso-8859-1 charset, but for some reason it seems that the i-rule changes the encoding of the http payload to utf-8, and hence the client browser does not display correctly some characters like accents, etc.
I've tried to use the encoding command from tcl to force a conversion to iso-8859-1 but (though there is not error message when I introduce it at the LTMs administration web) I get the following error message at the ltm log, when the irule is executed:
"TCL error: Rule response_change_https - invalid command name "encoding" while executing "encoding convertto iso-8859-1 $new_response"
Any idea would be of great help.
Thanks in advance.
Best regards,
Julio