UTF-8 file + console

Thomas Dickey dickey at radix.net
Tue Mar 31 11:20:06 PDT 2009

On Tue, Mar 31, 2009 at 12:15:33PM +0200, Paul B. Mahol wrote:
> On 3/31/09, Thomas Dickey <dickey at radix.net> wrote:
> > On Tue, Mar 31, 2009 at 11:36:32AM +0200, Paul B. Mahol wrote:
> >> On 3/31/09, Arek Czereszewski <arek at wup-katowice.pl> wrote:
> >> > I have php application in UTF-8 on server
> >> > (in files are 4 languages: PL, SK, CZ and EN).
> > 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.

There's two parts: does the editor knows how to manipulate UTF-8,
and does the terminal display UTF-8.  If the editor knows that the
terminal doesn't display UTF-8, it can choose a representation that
works for the terminal (even if it happens to be FreeBSD's console).

Thomas E. Dickey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090331/4662824d/attachment.pgp

More information about the freebsd-questions mailing list