* Bram Moolenaar <[EMAIL PROTECTED]> [20050305 12:36]: > > If I have set [EMAIL PROTECTED] or [EMAIL PROTECTED] entering an > > Euro char via ":digraph ee 164" doesn't work. Using Ctrl-V 1 6 4 > > works fine. If LC_CTYPE is de_DE, en_US or C, digraph for Euro char > > works, too, even after using ":language ctype [EMAIL PROTECTED]" from > > inside vim. > > > > Entering other special characters via digraph works, too. > > > > This problem also exists in vim 6.3.62 on x86 compiled from source, > > but it doesn't exist in vim 6.1.18 from Debian woody. > > > > [EMAIL PROTECTED] is configured with /etc/locale.gen and locale-gen. > > I don't quite understand what the problem is. First of all, digraphs > are independent of the language used. It does depend on the 'encoding'. > When you use Unicode then the euro character is 0x20ac. Is your > 'encoding' set to "utf-8" perhaps?
No, otherwise ":dig aa 228" etc. wouldn't work, but they do work fine. > Anyway, if you define your own digraph with ":digraph ee 164" it should > work, there is nothing in Vim to stop it. Except perhaps if you change > 'encoding' afterwards. I thought so, too, but I'm proven wrong. > The default digraph for this character is Cu (Currency symbol in latin1). I know, but this isn't even defined if I start with [EMAIL PROTECTED] (though I can re-define it without problems). Maybe a glibc bug in isprint or something similar? But then it wouldn't have worked with vim 6.1.18. Regards, Thomas -- Email: [EMAIL PROTECTED] http://intevation.de/~thomas/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]