diff --git a/product/ERP5Form/ScribusParser.py b/product/ERP5Form/ScribusParser.py
index 1806aa5c2a00fd0cafa6a9fb63a668f150906950..6d1f298c762de79cf577176cca826877f851c5dc 100644
--- a/product/ERP5Form/ScribusParser.py
+++ b/product/ERP5Form/ScribusParser.py
@@ -30,7 +30,7 @@
 ##############################################################################
 from AccessControl import ClassSecurityInfo
 from lxml import etree
-
+from zLOG import LOG,INFO
 class ScribusParser:
   """
     Scribus parser API provide methods wich allow to parse a scribus file.
@@ -478,7 +478,11 @@ class ScribusParser:
         for attributes in field[1]["ANTOOLTIP"].split("#"):
           if attributes != "":
             key,value = attributes.split(":")
+            if isinstance(key, unicode):
+                key = key.encode('utf-8')
+            if isinstance(value, unicode):
+                value = value.encode('utf-8')
             if key == "nb":
-              value = int(value)     
-            erp5_attribute_dict[key]=value
+              value = int(value)
+            erp5_attribute_dict[key]=value     
     return erp5_attribute_dict