From owner-freebsd-questions@FreeBSD.ORG Tue Mar 31 18:20:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 734911065675 for ; Tue, 31 Mar 2009 18:20:05 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (saltmine.radix.net [207.192.128.40]) by mx1.freebsd.org (Postfix) with ESMTP id 270788FC15 for ; Tue, 31 Mar 2009 18:20:04 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id n2VIK4fP005505; Tue, 31 Mar 2009 14:20:04 -0400 (EDT) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id n2VIK3hw005502; Tue, 31 Mar 2009 14:20:03 -0400 (EDT) Date: Tue, 31 Mar 2009 14:20:03 -0400 From: Thomas Dickey To: "Paul B. Mahol" Message-ID: <20090331182003.GA2538@saltmine.radix.net> References: <49D1AE8C.8070704@wup-katowice.pl> <3a142e750903310236g2622ef57q1f32906f639fea03@mail.gmail.com> <20090331100407.GA11424@saltmine.radix.net> <3a142e750903310315i11e1462bt14d11ee0d4123cb6@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AqsLC8rIMeq19msA" Content-Disposition: inline In-Reply-To: <3a142e750903310315i11e1462bt14d11ee0d4123cb6@mail.gmail.com> User-Agent: Mutt/1.3.27i Cc: arek@wup-katowice.pl, freebsd-questions@freebsd.org Subject: Re: UTF-8 file + console X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2009 18:20:06 -0000 --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 31, 2009 at 12:15:33PM +0200, Paul B. Mahol wrote: > On 3/31/09, Thomas Dickey wrote: > > On Tue, Mar 31, 2009 at 11:36:32AM +0200, Paul B. Mahol wrote: > >> On 3/31/09, Arek Czereszewski wrote: > >> > I have php application in UTF-8 on server > >> > (in files are 4 languages: PL, SK, CZ and EN). =2E.. > > That might be a configuration issue rather than the program. > > ("EN" in particular ;-) >=20 > 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). --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --AqsLC8rIMeq19msA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQFJ0l4WtIqByHxlDocRAhKVAKCQHgQVFpjXjLVkbMWhCulBGWaNawCgovw4 INcpwqfHb43ImXYGcbY4QTs= =/3m6 -----END PGP SIGNATURE----- --AqsLC8rIMeq19msA--