On Sun, Nov 10, 2002 at 02:53:47PM -0500, Havoc Pennington wrote: > On Sun, Nov 10, 2002 at 12:56:34PM -0500, Steve M. Robbins wrote: > > > > I have a tiny file with four ISO-8859-1 characters in it: "�t�\n". > > (In case this email gets mangled, that is: e/acute-accent, t, > > e/acute-accent, newline). > > > > On the linux console, "cat" correctly shows the file. > > > > Using xterm, "cat" correctly shows the file. > > > > Using gnome-terminal, a blank line is output. The system is an > > up-to-date sid system, with gnome-terminal version 2.1.0-2. > > The first question is whether you're using VTE or Zvt (ldd > /usr/bin/gnome-terminal)
It's built with zvt, not vte. Now that you bring it up, I see there are a couple of threads about building gnome-terminal with libvte. Apparently one has to look for it in "experimental". > > What do I need to do to get accented characters to show up? > > I thought I might need to choose a font with iso-8859-1 encoding, > > but the font selection window shows only "Family", "Style" > > and "Size" -- nothing about encoding. > > Bundling font and encoding together is one of the busted crackmonkey > features of classic X fonts fixed with fontconfig/Xft2. ;-) I was trying hard to stay neutral -- I am not really interested in a flame war about who is at fault ;-) However it is resolved, it seems to me that these things should "just work" out of the box. Running "man iso-8859-1" works fine in: the linux console, classic xterm, and multi-gnome-terminal. It doesn't work in the current gnome-terminal. > If you get gnome-terminal latest tarball (there's one past 2.1.0 I > think), and build with VTE, then there's a Terminal->Character Coding > menu where you can change what encoding it uses to interpret data > printed to the terminal. Basically identical to how Mozilla handles > encoding. > > With Zvt, AFAIK the terminal is just totally broken with anything > other than ASCII. That appears to be my problem. I'm sticking with multi-gnome-terminal for today. When I get a moment, I'll try gnome-terminal built with VTE. Many thanks, -Steve

