Coming soon: Your brand new Help Center & Community! Get a sneak-peek here

Url encoding

In this article

    Both win and web offers the possibility to substitute a string that is an url. The decision to use url syntax is taken in a couple of  ways, a tag in the string, a parameter through COM (win).
    But how do we decide which type of encoding we should use? How can we detect what the receiver needs/expects.
    How can we make sure it works in as many cases as possible, and not brake existing use.

    Before it was all ANSI, characters up to 0x7f (127) was just passed along, characters from 0x7f to 0xff was encoded according to the standard by putting a % before the hex value of the character.
    Unicode gives a couple of choices: encode characters with ANSI codepage and then url encode them, encode all characters to utf-8 then prefix each of the characters 1 – 3 bytes hexvalues with %. The last option is according to the new standard .
    It is still possible to pass characters up to 0x7f along.

    When you add new webpanels you may choose URL encoding directly in a dropdownlist