Loading ...
Sorry, an error occurred while loading the content.
Advanced Search
Author
Subject
Message
Special notice only

Advanced Search
  • ...and page bread but no syntax highlighting (via Notepad). Seasons greetings! mt 081224 Tony Mechelynck wrote: On 23/12/08 08:53, msingtse@^$1 wrote: . . . I think there must be a way to print Chinese without calling for Notepad? Plus, I cannot use notepad this time...
    Mansing Dec 23, 2008
  • This is an old problem but only today I am trying to deal with it -- without success. The same utf-8 file comprising Chinese can be printed using Windows Notepad, but not my copy of very typical Vim 7.2. I tried to set "printencoding", "printmbcharset" and "printmbfont" but Vim told me these options are not supported (my Vim was complied with "-postscript"). I think there must be...
    msingtse@hkstar.com Dec 22, 2008
  • I tried changing "enc=" to "fenc=" in my mode line: but my Chinese text doesn't show up correctly (as if this option were omitted). I tried (after reading help 45.3 on ":edit ++enc=...") also "++enc=" and "\+\+enc=", but Vim says this is not a known option (for the mode line). Seems "enc=" is the only way that I can use to (automatically) tell Vim about my file encoding. Note that...
    Mansing Dec 9, 2008
  • Fetching Sponsored Content...
  • Rats! I tag the following mode line to all of my Chinese text files, to mark their encoding and font set etc.: I do that to avoid the ugly Latin in CJK font sets (for normal English text files) and to avoid the use of a BOM. I am running Windows (Vista). mt 081209 Bram Moolenaar wrote: > . . . > That's the wrong way of doing things. Never change 'encoding' from a > modeline...
    Mansing Dec 8, 2008
  • Don't waste time trying MingLiU... I just find out that the NSimSun which zod mentioned has better looking Latin scripts. That is, the MingLiU which I think decent is uglier than NSimSun which zod considered ugliest :-( Mansing wrote: I use MingLiU which displays both traditional and simplified Chinese, as well as Latin alphabets. The Latin display is not the prettiest but decent...
    Mansing Nov 13, 2008
  • I use MingLiU which displays both traditional and simplified Chinese, as well as Latin alphabets. The Latin display is not the prettiest but decent :-) zod wrote: > I'd like to use a unicode font that includes both simplified Chinese > and latin. The only font that I have found that does this in gvim on > Windows is NSimSun. And that has the ugliest latin of all time. So > what...
    Mansing Nov 13, 2008
  • Wow! For ages, I knew not to ask this question. Now with :set ambiwidth=double my Chinese /open/ quotation mark ( “ code=0x201c ) is displayed correctly --without colliding with the next character. Strange that, the /close/ quotation mark ( ” code=0x201d ) has always been displayed well regardless of the ambiwidth setting?! mt 081025 Tony Mechelynck wrote: On 24/10/08 16:22...
    Mansing Oct 24, 2008
  • The instruction works! Seems I must set both "enc" and "fenc" correctly ~before~ loading an input file. I used to set only the "enc" to match input file format before loading, and then the "fenc" to match the desired output file format before saving --everything looked fine until you reopen the output file! Thank you! mt 2008-03-13 Tony Mechelynck wrote: > . . . > Try the...
    Mansing Mar 12, 2008
  • ...t. The hex dumps, for both output files, were copied from the gVim window after ":%!xxd". mt 2008-03-12 Tony Mechelynck wrote: msingtse@^$1 wrote: I am playing with CSV files with Chinese contents. Windows (Excel) outputs a text file in ucs-2le coding. . . VIM converted...
    Mansing Mar 12, 2008
  • I am playing with CSV files with Chinese contents. Windows (Excel) outputs a text file in ucs-2le coding. VIM correctly opens this file and displays Chinese characters. I then convert the file into utf-8 coding... but all the Chinese characters were morphed into monsters. I did the same conversion using Windows Notepad and it works perfectly. Comparing the two output (utf-8) files...
    msingtse@hkstar.com Mar 12, 2008