#91 balloon does not show Chinese characters correctly

open-fixed
nobody
Interface (24)
5
2011-01-12
2011-01-07
Li Zhengdong
No

When encoding is set to utf-8, gvim(MS-Windows 32-bit GUI version, 7.3) pops up an ugly balloon which contains wrong Chinese characters.
When it set to chinese, gvim works fine, but I can not use non-mono fonts such as Microsoft_YaHei
I added "CFLAGS = $(CFLAGS) -DFEAT_PROPORTIONAL_FONTS" to Make_mvc.mak and compiled gvim from source with cl.

Discussion

  • Li Zhengdong
    Li Zhengdong
    2011-01-07

    balloon shows wrong chinese characters

     
    Attachments
  • Li Zhengdong
    Li Zhengdong
    2011-01-12

    convert the characters before return it to balloon:

    return iconv(utf8, "utf-8", "cp936")

     
  • Li Zhengdong
    Li Zhengdong
    2011-01-12

    • status: open --> open-fixed