RTC Forums
November 23, 2024, 11:55:22 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Request.Params[avalue] contains punctuation characters  (Read 5276 times)
Mamar
RTC Expired
*
Posts: 3


« on: August 02, 2018, 08:33:35 AM »

Request.Params[avalue] contains punctuation characters.


how to change the characters by the correct characters
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #1 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).
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.022 seconds with 16 queries.