From 49109fcfe34051a77786e082b201471662fab383 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Tue, 19 Feb 2008 08:32:09 +0000
Subject: [PATCH] value for tal:attribute has to be in unicode

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19369 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_ods_style/report_view.xml                 | 2 +-
 bt5/erp5_ods_style/bt/revision                                  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/report_view.xml b/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/report_view.xml
index 74b51c0360..83301faed5 100644
--- a/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/report_view.xml
+++ b/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/report_view.xml
@@ -64,7 +64,7 @@
 \n
       <tal:block tal:define="portal_object here/portal_url/getPortalObject">\n
         <tal:block tal:condition="not: sheet_per_reportsection">\n
-          <table:table tal:attributes="table:name python:here.getProperty(\'title\')">\n
+          <table:table tal:attributes="table:name python:unicode(here.getProperty(\'title\'), \'utf8\')">\n
           <!-- at least one table-column element is required for ODF to validate -->\n
           <table:table-column\n
                 table:style-name=\'co2\'\n
diff --git a/bt5/erp5_ods_style/bt/revision b/bt5/erp5_ods_style/bt/revision
index 5a396e28e8..3fdc173dab 100644
--- a/bt5/erp5_ods_style/bt/revision
+++ b/bt5/erp5_ods_style/bt/revision
@@ -1 +1 @@
-121
\ No newline at end of file
+122
\ No newline at end of file
-- 
2.30.9