It is easy to encode strings. I can do a simple JavaScript function and demonstrate it but the actual question is:
When you encode characters from your side, will the server know this is encoded to decode it before using it.
You need to provide more info because Thunkable has a block for Web API Query
which should pass the required text without problems.