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

Stewart Jeacocke Stewart Jeacocke <stewart@jeacocke.org.uk>, 257709@bugs.debian.org
Mon, 18 Apr 2005 00:15:27 +0100


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.