[Checkins] SVN: Products.SQLAlchemyDA/trunk/Products/SQLAlchemyDA/pt/query.zpt unicode fix

Andreas Jung andreas at andreas-jung.com
Mon Mar 17 16:51:47 EDT 2008


Log message for revision 84748:
  unicode fix
  

Changed:
  U   Products.SQLAlchemyDA/trunk/Products/SQLAlchemyDA/pt/query.zpt

-=-
Modified: Products.SQLAlchemyDA/trunk/Products/SQLAlchemyDA/pt/query.zpt
===================================================================
--- Products.SQLAlchemyDA/trunk/Products/SQLAlchemyDA/pt/query.zpt	2008-03-17 20:41:41 UTC (rev 84747)
+++ Products.SQLAlchemyDA/trunk/Products/SQLAlchemyDA/pt/query.zpt	2008-03-17 20:51:47 UTC (rev 84748)
@@ -39,7 +39,7 @@
                 <tbody>
                     <tr tal:repeat="row python: result[1]">
                         <td tal:repeat="item row">
-                            <span tal:replace="item" />&nbsp;
+                            <span tal:replace="python: unicode(item, 'iso-8859-15', 'ignore')" tal:on-error="item" />
                         </td>
                     </tr>
                 </tbody>



More information about the Checkins mailing list