SKITSANOS FOR RIA

Skitsanos

Monday, March 01, 2010

Vzaar and escaping your query strings

Not Vzaar API related but rather a hint. When are having situation where you need to redirect user to a video page and submit some parameters in query string, make sure you have used escaping for non-English symbols.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script type="text/javascript">
            document.location.href = 'http://somewebsite.ext/somepage.php?'+escape('somevalue=Förmedling');
        </script>
    </head>
    <body>
        some content...
    </body>
</html>

0 comments:

Webware development dedicated blog by Skitsanos R&D Labs. ASP.NET, XML, RIA, Adobe Flex, ActionScript 3, AIR, AJAX, Web 2.0, Backbase, CGI development with RealBasic and other web development issues.
News
Downloads