Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


  • URLs only use the graphic printable characters of the US-ASCII character set. Thus, characters not used in US-ASCII [80-FF hexadecimal] and control characters [00-1F and 7F hexadecimal] must be encoded.
  • Unsafe characters [<>"#%{}|\^~[]‘] and spaces may not be understood for a number of reasons and must be encoded.
  • Reserved characters [;/?:@=&] have special meanings that define the syntax of the URL. When these reserved characters are used for their special purposes, they can exist without modification
    within the URL. However, when they are used outside their purposes, they must be encoded.

Click here to review different techniques within HostBridge to do URL encoding within an HB.js script. 

The following table gives a list of common characters and their encoding.  Only the characters that are unsafe and may need to be encoded are included.   Unused characters are also not included.


A complete list of all characters and their encoding can be found here.


If your development environment is C#, you can use the HttpUtility.UrlEncode Method to encode the value portion. This will make sure that any special characters that URLs use are encoded so they are not misinterpreted. .

Similar methods will be available for other development environments.