From owner-freebsd-questions@FreeBSD.ORG Tue Mar 31 10:15:35 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 0666F106564A for ; Tue, 31 Mar 2009 10:15:35 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ew0-f171.google.com (mail-ew0-f171.google.com [209.85.219.171]) by mx1.freebsd.org (Postfix) with ESMTP id 8EE7E8FC0A for ; Tue, 31 Mar 2009 10:15:34 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by ewy19 with SMTP id 19so2259233ewy.43 for ; Tue, 31 Mar 2009 03:15:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=toHsM87aVZVA7U9R+vmj88SFFHgg6w6UjEQ7lDZZstI=; b=aHcNRKEfkRLNMYjWxCbF8fClHSMN9IlsKfPve+jhISvxJ78BH64Z7WPPDck6rlHY27 q8g606+ecIVWJI3TdHh/BhWk/S75eNffWKME9ykvGzW0cccwwh9fkfYE2QOkSS+qXjXg CuvjcHE1apCJgmJPW1uqvgrdfktwYLJ1GYcM8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Z6Q3e0DqgjYkrgqKxgNBmzwJOpFk3c9tlWvv5dFWmzmHXxhDT44gm8H1Z4cjK2BAMh +cqgZqynBExGrZIbv+egY5yPWxNUHesOWZ9RVgQhQqS4gQHmhsy+PYTFpBgxyPBqVZn4 IlAfv0NvscZjRo+EfOMfUkxUeNLB2Kg3DXLeE= MIME-Version: 1.0 Received: by 10.210.16.10 with SMTP id 10mr3418535ebp.26.1238494533606; Tue, 31 Mar 2009 03:15:33 -0700 (PDT) In-Reply-To: <20090331100407.GA11424@saltmine.radix.net> References: <49D1AE8C.8070704@wup-katowice.pl> <3a142e750903310236g2622ef57q1f32906f639fea03@mail.gmail.com> <20090331100407.GA11424@saltmine.radix.net> Date: Tue, 31 Mar 2009 12:15:33 +0200 Message-ID: <3a142e750903310315i11e1462bt14d11ee0d4123cb6@mail.gmail.com> From: "Paul B. Mahol" To: Thomas Dickey Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 10:15:35 -0000 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: >> > 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. -- Paul