Date: Tue, 31 Mar 2009 14:39:47 +0200 From: "Paul B. Mahol" <onemda@gmail.com> To: Maciej Milewski <milu@dat.pl> Cc: freebsd-questions@freebsd.org Subject: Re: UTF-8 file + console Message-ID: <3a142e750903310539v33d640ebhb88508f3814a4752@mail.gmail.com> In-Reply-To: <200903311248.19317.milu@dat.pl> References: <49D1AE8C.8070704@wup-katowice.pl> <20090331100407.GA11424@saltmine.radix.net> <3a142e750903310315i11e1462bt14d11ee0d4123cb6@mail.gmail.com> <200903311248.19317.milu@dat.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
On 3/31/09, Maciej Milewski <milu@dat.pl> wrote: > Tuesday 31 March 2009 12:15:33 Paul B. Mahol napisa=B3(a): >> On 3/31/09, Thomas Dickey <dickey@radix.net> wrote: >> > On Tue, Mar 31, 2009 at 11:36:32AM +0200, Paul B. Mahol wrote: >> >> On 3/31/09, Arek Czereszewski <arek@wup-katowice.pl> wrote: >> >> > Hi, >> >> > >> >> > I have php application in UTF-8 on server >> >> > (in files are 4 languages: PL, SK, CZ and EN). >> >> > >> >> > Is there any chance to edit this files on console? >> >> > Or should I edit files in Linux/Mac/Win editor with >> >> > UTF support and upload then to server? >> >> >> >> You can edit them inside vim, but they will not be >> >> displayed correctly. >> > >> > That might be a configuration issue rather than the program. >> > ("EN" in particular ;-) >> >> Generally speaking FreeBSD console doesnt support UTF-8. So even if >> program (in this case vim) supports UTF-8 it will not work. > What about editing with vim and setting manualy fileencoding=3Dutf8? > Next time you open this file vim should know that it is utf8 file or am I > wrong? That questions is for vim list. And utf-8 support in vim is very well documented. --=20 Paul
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3a142e750903310539v33d640ebhb88508f3814a4752>