diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/FCKeditor_getSetReferenceUrl.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/FCKeditor_getSetReferenceUrl.xml
index 18773bb3820f08b4606a26c7feedce51a4219603..536784f9e0ad9bce3f917935c8ed53f15ec823b5 100644
--- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/FCKeditor_getSetReferenceUrl.xml
+++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/FCKeditor_getSetReferenceUrl.xml
@@ -57,7 +57,7 @@ if brain.getValidationState() == \'embedded\':\n
 else:\n
   reference = brain.getReference()\n
 format = context.getPortalObject().portal_preferences.getPreferredImageFormat()\n
-return "javascript:SelectFile(\'%s?format=%s\')" % (reference.replace("\'", "\\\\\'"), format)\n
+return unicode("javascript:SelectFile(\'%s?format=%s\')" % (reference.replace("\'", "\\\\\'"), format), \'utf-8\')\n
 </string> </value>
         </item>
         <item>
diff --git a/bt5/erp5_dms/bt/revision b/bt5/erp5_dms/bt/revision
index f841b1551cee3480ea23e410755201af19c90d7b..09c2854e844ed8161fc0aaeb94673754e81fbb63 100644
--- a/bt5/erp5_dms/bt/revision
+++ b/bt5/erp5_dms/bt/revision
@@ -1 +1 @@
-1245
\ No newline at end of file
+1246
\ No newline at end of file