RTC Forums

Subscription => Support => Topic started by: Mamar on August 02, 2018, 08:33:35 AM



Title: Request.Params[avalue] contains punctuation characters
Post by: Mamar on August 02, 2018, 08:33:35 AM
Request.Params[avalue] contains punctuation characters.


how to change the characters by the correct characters


Title: Re: Request.Params[avalue] contains punctuation characters
Post by: D.Tkalcec (RTC) on August 02, 2018, 09:05:11 AM
You will get whatever the Client sends to the Server, in its raw and unmodified format. If the content you get is encoded, then you need the correct decoding function. Most frequently used Encoding and Decoding functions required by Web Applications are included in the RTC SDK (check URL_Decode, Utf8Decode and Mime_Decode functions in the "rtcSystem.pas" unit), so give these functions a try and see if you get the correct output. If none of them work with your content, you can try changing the default encoding of your web page to use one of the supported formats (like UTF-8), or ... search for some other Delphi library/function to help with the decoding (there are a lot of free Delphi libraries available on the web).