Dear Tony, I use this configuration. still cannot get the characters correctly displayed if i don't delete the ETO_IGNORELANGUAGE statement. For the problem that I described, VIM cannot display the (chinese) characters correctly in the edit mode, not the vim menu.
Regards, Hilary On Thu, Nov 20, 2008 at 11:39, Tony Mechelynck <[EMAIL PROTECTED] > wrote: > > On 20/11/08 01:45, Hilary Cheng wrote: > > Dear Tony, > > > > As I tested, it still cannot display the characters if I changed from > > ANSI_CHARSET to DEFAULT_CHARSET. > > > > Regards, > > > > Hilary > > > > On Wed, Nov 19, 2008 at 23:30, Tony Mechelynck > > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > wrote: > > > > > > On 19/11/08 12:10, Hilary wrote: > > > Dear all, > > > > > > I am starting to use the VIM for Win32 which running at WinXP. As > I > > > configurated the vim to utf-8 (fileencodings, fenc, encoding, > tenc) , > > > config the fonts to ANSI Character Set with an Latin Font (Courier > > > New). VIM will show the Non-Latin to Square Characters. It seems > > it is > > > strange. Since WinXP will handle the Non-Latin Characters with > > Courier > > > New. I have started to dig the source from svn and I found that > > > ETO_IGNORELANGUAGE was set for ExtTextOutW in the > vim7\src\gui_w32.c. > > > When it set, All Non-Latin Characters will show Square. If This > > > options has been removed, it will display Non-Latin Characters > > > correctly. Is it necessary to use this options ? > > > > > > Regards, > > > > > > Hilary > > > > IIUC, ANSI character set (cANSI) means you _don't want_ non-Latin > > glyphs. Set it to cDEFAULT instead(:set > gfn=Courier_New:h13:cDEFAULT), > > and all glyphs available in Courier New will be available to you > > (including Cyrillic and Arabic, but I don't think it's got Chinese). > > > > > > Best regards, > > Tony. > > -- > > Jenkinson's Law: > > It won't work. > > If you canged what from ANSI_CHARSET to DEFAULT_CHARSET ? AFAIK, gvim > doesn't use those values. > > The language to use for the GUI font is set at runtime (typically in > your vimrc), not at compile-time (not in any *.c file), and as part of > the 'guifont' option. Try using > > :set guifont=Courier_New:h13:cDEFAULT > > in your vimrc. No _CHARSET part, which would make the value unrecognizable. > > > Best regards, > Tony. > -- > A closed mouth gathers no foot. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
