protected function encode($string)
    {
        $encoded_query = $string;

        if (!empty(static::$unencoded_characters)) {
            $string_helper = new StringHelper($string);

            $encoded_query = $string_helper->affectChunks("rawurlencode", ...static::$unencoded_characters);
        }

        return $encoded_query;
    }