UTF-8 file + console

Paul B. Mahol onemda at gmail.com
Tue Mar 31 03:15:35 PDT 2009


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:
>> > 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


More information about the freebsd-questions mailing list