Re: UTF-8 file + console



Tuesday 31 March 2009 12:15:33 Paul B. Mahol napisał(a):
On 3/31/09, Thomas Dickey <dickey@xxxxxxxxx> wrote:
On Tue, Mar 31, 2009 at 11:36:32AM +0200, Paul B. Mahol wrote:
On 3/31/09, Arek Czereszewski <arek@xxxxxxxxxxxxxxx> 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=utf8?
Next time you open this file vim should know that it is utf8 file or am I
wrong?

--
Regards,
Maciej Milewski
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • =?ISO-8859-1?Q?Re=3A_Can_I_edit_Cach=E9_routines_on_Linux_without_usin?= =?ISO-8859-
    ... then send it to the server via a vim scripting hook. ... I only need to edit .MAC files for the time being. ... relevant locking etc. put in place by Studio. ...
    (comp.lang.mumps)
  • Re: UTF-8 file + console
    ... UTF support and upload then to server? ... Generally speaking FreeBSD console doesnt support UTF-8. ... program (in this case vim) supports UTF-8 it will not work. ...
    (freebsd-questions)
  • Re: UTF-8 file + console
    ... Is there any chance to edit this files on console? ... UTF support and upload then to server? ... Generally speaking FreeBSD console doesnt support UTF-8. ... program (in this case vim) supports UTF-8 it will not work. ...
    (freebsd-questions)
  • Re: =?ISO-8859-1?Q?Can_I_edit_Cach=E9_routines_on_Linux_without_using_St?= =?ISO-8859
    ... then send it to the server via a vim scripting hook. ... I only need to edit .MAC files for the time being. ...
    (comp.lang.mumps)
  • Re: UTF-8 file + console
    ... Is there any chance to edit this files on console? ... UTF support and upload then to server? ... Generally speaking FreeBSD console doesnt support UTF-8. ... program (in this case vim) supports UTF-8 it will not work. ...
    (freebsd-questions)