[Seaside] UTF-8 and live updates

Ilya S. Slyzhnyak ilya at odt.east.telecom.kz
Mon Jan 16 12:51:46 CET 2006


Hi all!

To support UTF-8 characters in GET request  JS code have to be
corrected, encodeURIComponent() have to be used instead of escape():

function addParameter(uri, key, value)
{
    var separator = "?";
    if (uri.indexOf("?") >= 0)
        separator = "&";
    return uri + separator + key + "=" + encodeURIComponent(value);
}




More information about the Seaside mailing list