Index: terminal-screen.c
===================================================================
RCS file: /cvs/gnome/gnome-terminal/src/terminal-screen.c,v
retrieving revision 1.60
diff -u -r1.60 terminal-screen.c
--- terminal-screen.c	9 Oct 2002 02:45:29 -0000	1.60
+++ terminal-screen.c	9 Oct 2002 17:13:07 -0000
@@ -1753,31 +1753,13 @@
         str = gtk_selection_data_get_text (selection_data);
 
         /*
-	 * converted back to locale encoding before sending to
-	 * the terminal.
+	 * pass UTF-8 to the terminal widget. The terminal widget
+	 * should know which encoding mode it's in and be able
+	 * to performperform the correct conversion.
          */
         if (str && *str)
-          {
-	    gssize str_len = strlen (str);
-	    gchar *locale_str;
-	    GError *error = NULL;
-	    locale_str = g_locale_from_utf8 (str, str_len,
-					     NULL, NULL, &error);
-	    if (error)
-	      {
-		g_warning ("Error converting from utf8: %s\n", error->message);
-		g_error_free (error);
-	      }
-	    else
-	      {
-		if (locale_str && *locale_str)
-		  terminal_widget_write_data_to_child (screen->priv->term,
-						       locale_str,
-						       strlen (locale_str));
-	      }
-	    g_free (locale_str);
-          }
-
+	  terminal_widget_write_data_to_child (screen->priv->term,
+					       str, strlen (str));
         g_free (str);
       }
       break;
