I should probably state for the record, that all this only happened after I
upgraded to Vim 7.2 from some old version.  I haven't changed any UTF /
Terminal / Regional settings.  The terminal program Putty is set to UTF-8,
location is POSIX...

If Vim can't show the characters properly, yet the command "cat" displays
them without a hitch, how is it something to do with my terminal settings?

Many thanks, and thanks in advance!


2009/4/28 bill lam <[email protected]>

>
> On Tue, 28 Apr 2009, smu johnson wrote:
> > 2009/4/27 pansz <[email protected]>
> >
> > >
> > >
> > > the minimum .vimrc file to get things work:
> > >
> > > set nocompatible
> > > set encoding=utf-8
> > > set fileencodings=ucs-bom,utf-8,(add-your-local-jp-encodings-here)
> > >
> > > Also, you may need to check the actual encoding of your text file, is
> it
> > > really utf-8?
> > >
> > >
> > I did those things, use the big version, still no luck.
> >
> > I start a new text file:
> >
> > sjohn...@web1:~$ vi moose.txt
> >
> >   1 ▒~\~X▒~[~[
> > ~
> > ~
> > :wq
> >
> >
> > sjohn...@web1:~$ cat moose.txt
> > 蜘蛛
> >
> > I cant figure this out for the life of me.  pansz:  It looks as though
> you
> > are using Simp Hanzi and are chinese... do you think you could make a URL
> to
> > a Chinese UTF-8 type test and we can then asses if it's UTF-8 and not
> some
> > strange Japanese thing?  I'm not even Japanese as a nationality, actually
> > Canadian, and hate using SHIFT-JIS so hopefully it's not creeping its way
> > into my work.
>
> Does your terminal encoding set to utf-8?
> set tenc?
>
> what is your system locale?
> $ locale
>
> --
> regards,
> ====================================================
> GPG key 1024D/4434BAB3 2008-08-24
> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
> 唐詩186 杜甫  登高
>    風急天高猿嘯哀  渚清沙白鳥飛迴  無邊落木蕭蕭下  不盡長江滾滾來
>    萬里悲秋常作客  百年多病獨登臺  艱難苦恨繁霜鬢  潦倒新停濁酒杯
>
> >
>


-- 
smu johnson <[email protected]>

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to