On Mon, 2006-05-01 at 08:39 -0400, Benji Fisher wrote: > On Sun, Apr 30, 2006 at 09:19:01PM -0400, Steve Hall wrote: > > > > In every beta of gVim I've tried on Linux/GTK2 (through 70g) I get > > the following error with :hardcopy : > > > > E673: Incompatible multi-byte encoding and character set. > > > > This is with utf-8 and latin1. My binary is feature-full, it > > includes everything except: > > > > -ebcdic -footer -gettext -hangul_input -mouse_jsbterm -mzscheme > > -osfiletype -sniff -sun_workshop -tag_any_white -tcl -xfontset > > -xterm_save > > > > The runtime is soley the directory in the vim-7.0g.tar.bz tarball. > > What am I doing wrong? > > I had problems with a similar setup (Linux/GTK2 and utf-8) but they > were solved a while ago. I do not have any problem with the current > version. (Actually vim 7.0f.) > > Have you set any of the print* options to non-default values?
Yes, the bug is in &printencoding. With gvim -u NONE -U NONE, these lines produce the error: :let &printencoding = &encoding :hardcopy This is with the default utf-8, with :set enc=latin1 prior, it is avoided. -- Steve Hall [ digitect mindspring com ]