The problem is you are using ansi codes for identify with a colour each type of file. Probably you have set "alias ls='ls --color=always'". Better change it by "alias ls='ls --color=auto'".
Best regards
---------------------------------------------------------------
Administrador de Sistemas
Centro de Cálculo e-mail: NTadmin@fi.upm.es
Facultad de Informática
Universidad Politécnica de Madrid
---------------------------------------------------------------
----- Original Message -----
From: "Giulio F."
Hi, I have this locale:
LANG=it_IT.UTF-8 LC_CTYPE="zh_CN.UTF-8"
and with this commands 'ls > file_name' and 'less file_name' less considers the file as a binary file and so I get this:
[0m[01;34mC codice sorgente[0m [01;34mDocumenti[0m [01;32mFinanze-mensili.sxc[0m [01;34mFoto[0m
I think it's because of unicode locale. Is there a variable (or option) to assign to less to solve the problem? Thank you. Giulio
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com