Bug#257709: gnome-terminal: failing to paste accented characters

J. Bruce Fields "J. Bruce Fields" <bfields@fieldses.org>, 257709@bugs.debian.org
Sun, 17 Apr 2005 19:26:17 -0400


On Mon, Apr 18, 2005 at 12:15:27AM +0100, Stewart Jeacocke wrote:
> retitle 257709 Silently fails to paste chars if locale doesn't support them.
> thanks
> 
> > If I try to cut and paste a piece of text from mozilla which contains,
> > e.g., &eacute;, the paste silently fails.
> > 
> > Pasting the same text into, e.g., gedit, succeeds.
> > 
> 
> The problem is that you are not using a UTF-8 (Unicode) system locale.
> Run
>
> # pkg-reconfigure locales
> 
> and select a Unicode locale (eg en_GB.UTF-8) as the default system
> locale. Log out of GNOME and log back in. Launch gnome-terminal and
> check that the menu item Terminal -> Set Character Encoding -> Current
> Locale shows the UTF-8 locale. If so you should be able to paste any
> Unicode character that you like into gnome terminal.
> 
> Of course it would be nice if gnome-terminal warned you when you tried
> to paste a string containing an unsupported character into the terminal
> rather that just silently failing the paste. This probably deserves to
> be forwarded upstream.

Yeah, OK, thanks, that seems to explain the symptoms.  As a practical
problem, it seems that most of the email and newgroups I see are using
iso-8859-1, so that's the only thing that seems to work as a default
encoding for my terminal.

--b.