Index: src/Plugins/Qt/qt_chooser_widget.cpp
===================================================================
--- src/Plugins/Qt/qt_chooser_widget.cpp	(revision 198)
+++ src/Plugins/Qt/qt_chooser_widget.cpp	(working copy)
@@ -232,6 +232,9 @@
     file= "#f";
   } else {
     url u = url_system (scm_unquote (from_qstring (_file)));
+    QByteArray arr= to_qstring (as_string (u)).toLocal8Bit ();
+    const char* cstr= arr.constData ();
+    string localname = string ((char*) cstr);
     if (type == "image") {
       /*
        QPixmap _pic(_file);
@@ -244,9 +247,9 @@
        params << "\"" << "" << "\"";   // yps ??
        file = "(list (url-system " * scm_quote (as_string (u)) * ") " * params * ")";
        */
-      file = "(list (url-system " * scm_quote (as_string (u)) * ") \"\" \"\" \"\" \"\")";
+      file = "(list (url-system " * scm_quote (localname) * ") \"\" \"\" \"\" \"\")";
     } else {
-      file = "(url-system " * scm_quote (cork_to_utf8(as_string (u))) * ")";
+      file = "(url-system " * scm_quote (localname) * ")";
     }
   }
   cmd ();
@@ -336,12 +339,15 @@
     if (fileNames.count() > 0) {
       file = from_qstring_utf8 (fileNames[0]);
       url u = url_system (scm_unquote (file));
+      QByteArray arr= to_qstring (as_string (u)).toLocal8Bit ();
+      const char* cstr= arr.constData ();
+      string localname = string ((char*) cstr);
       if (type == "image")
         file = "(list (url-system " *
         scm_quote (as_string (u)) *
         ") " * imgdialog->getParamsAsString () * ")";
       else
-        file = "(url-system " * scm_quote (as_string (u)) * ")";
+        file = "(url-system " * scm_quote (localname) * ")";
     }
   } else {
     file = "#f";
Index: src/Texmacs/Data/tm_data.cpp
===================================================================
--- src/Texmacs/Data/tm_data.cpp	(revision 198)
+++ src/Texmacs/Data/tm_data.cpp	(working copy)
@@ -17,6 +17,10 @@
 #include "message.hpp"
 #include "dictionary.hpp"
 
+#ifdef QTTEXMACS
+#include "Qt/qt_utilities.hpp"
+#endif
+
 url tm_init_buffer_file= url_none ();
 url my_init_buffer_file= url_none ();
 
@@ -52,6 +56,9 @@
 string
 tm_data_rep::new_menu_name (url u) {
   string name= as_string (tail (u));
+#ifdef QTTEXMACS  
+  name = from_qstring( QString::fromLocal8Bit (as_charp (name)));
+#endif
   if (starts (name, "no_name_") && ends (name, ".tm")) {
     string no_name= translate ("No name");
     for (int i=0; i<N(no_name); i++)
