Author: duncan
Date: Thu Dec 28 17:52:45 2006
New Revision: 8852

Modified:
   branches/rel-1/freevo/src/www/htdocs/fileinfo.rpy

Log:
Fixed a Unicode problem with the pop up window


Modified: branches/rel-1/freevo/src/www/htdocs/fileinfo.rpy
==============================================================================
--- branches/rel-1/freevo/src/www/htdocs/fileinfo.rpy   (original)
+++ branches/rel-1/freevo/src/www/htdocs/fileinfo.rpy   Thu Dec 28 17:52:45 2006
@@ -23,7 +23,7 @@
 #
 # -----------------------------------------------------------------------
 
-import sys, os, stat, string
+import sys, os, stat, string, urllib
 import time
 
 from www.web_types import HTMLResource, FreevoResource
@@ -106,8 +106,8 @@
                u"doc.getElementById('program-waiting').style.display = 
'none';\n" \
                u"doc.getElementById('program-info').style.visibility = 
'visible';\n" \
                u"</script>\n"
-            ) % ( title.replace("'", "\\'"),
-                  info.replace("'", "\\'"),
+            ) % ( Unicode(title.replace("'", "\\'")),
+                  Unicode(info.replace("'", "\\'")),
                   "function() { window.open(\"%s\"); }" % (file_link),    
             )           
 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to