Author: tack
Date: Tue Apr 25 22:45:43 2006
New Revision: 1502

Modified:
   trunk/beacon/src/parser.py

Log:
ping dischi


Modified: trunk/beacon/src/parser.py
==============================================================================
--- trunk/beacon/src/parser.py  (original)
+++ trunk/beacon/src/parser.py  Tue Apr 25 22:45:43 2006
@@ -88,6 +88,11 @@
     if metadata and metadata['media'] and \
              db.object_types().has_key(metadata['media']):
         type = metadata['media']
+        # XXX: data coming out of kaa.metadata looks like latin-1 encoded 
+        # inside a unicode object.  This logic below is taken from mminfo.
+        # Why is this needed?  Something looks seriously broken.
+        for key in metadata.keys:
+            metadata[key] = 
str_to_unicode(unicode(metadata[key]).encode('latin-1', 'replace'))
     elif item._beacon_isdir:
         type = 'dir'
     else:


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to