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 18:48:10 +0100
--=-fR6XVvm2aXlyISDE/8ZG
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
On Mon, 2005-04-18 at 11:50 +0200, Sjoerd Simons wrote:
> So a mail reader should convert from the mails locale to
> the terminals locale if possible (Which mutt does fine with for example this
> mail when in an utf-8 terminal).. That's not a problem of the terminal.
Wouldn't it make sense for gnome-terminal to try to convert what it can
of a pasted string (copied from a different encoding) and just leave
blanks or something for characters that it can't copy? At the moment it
refuses to paste the string at all if it contains characters it can't
convert.
I have attached a file that demonstrates this. Set gnome-terminal to use
ISO-8859-1 encoding. Then try copying the lines in the attached file
into gnome-terminal. The first line should copy fine but the second will
fail silently (it uses a Unicode mu).
On Mon, 2005-04-18 at 11:24 -0400, J. Bruce Fields wrote:
> With utf-8 set in gdm, gnome-terminal, and my .bashrc (my ssh login
> sessions seem to revert back to POSIX/C otherwise), that conversion
> works, in mutt, tin, and vi.
If you have root on the machine using "pkg-reconfigure locales" and
selecting a Unicode locale as the default system locale should mean you
only have to make the change in one place.
--=-fR6XVvm2aXlyISDE/8ZG
Content-Disposition: attachment; filename=greek_latin_mu
Content-Type: text/plain; name=greek_latin_mu; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
works =C2=B5 (Unicode Block: Latin-1 Supplement)
doesn't work =CE=BC (Unicode Block: Greek and Coptic)
--=-fR6XVvm2aXlyISDE/8ZG--