I am a Japanese user. I want to convert the char-set of request for a web application which supports only non-English char-set because UTF-8 is set as the char-set of POST body from Fiddler Script.
I wrote the following code but I was not able to change the char-set from UTF-8:
static function OnBeforeRequest(oSession: Session) { if (oSession.HTTPMethodIs("POST")) { var cliEnc = System.Text.Encoding.GetEncoding("utf-8"); var srvEnc = System.Text.Encoding.GetEncoding("shift_jis"); // "shift_jis" is still often used in Japan... oSession.requestBodyBytes = System.Text.Encoding.Convert(cliEnc, srvEnc, oSession.requestBodyBytes); oSession.oRequest["Content-Length"] = oSession.requestBodyBytes.Length; }}Is there the method to change the char-set of POST body?