Sending special characters

Problem/Symptoms

  • Client sends message with special characters but the special character is not displayed

Cause 

In a http restful request, the http GET request must be url encoded, which means that most special characters must be encoded in a way understandable by a webserver.

As such, characters such as the plus sign (+) or the question mark (?) must be replaced by their URL encoded equivalents (%2b for the plus sign and %3F for a question mark for instance).

Several URL encoders can be found online such as (URL encoder).

Resolution

URL encode correctly the http get request before performing the request. The parameters of the HTTP get can be encoded with the aid of a online encoder such as (URL encoder). Furthermore, most programming languages have built-in http encoding mechanisms.

Have more questions? Submit a request