less and LESSCHARSET=latin1 and scandinavian chars are &
Mauri Sahlberg
Mauri.Sahlberg at claymountain.com
Sun Nov 30 09:02:55 UTC 2003
pe, 2003-11-28 kello 20:17, Jani Ollikainen kirjoitti:
> Hi,
>
>
> Ok, what have you done this time with charsets..
>
Itseasiassa kysymys on siitä mitä sinä olet tehnyt merkistöilläsi.
Actually the question is what you have done with your charsets.
> ($:~) echo "åöä hi mom" >moreisless
> ($:~) less moreisless
Oletusarvoisesti tuossa ekkoat utf-8 merkkejä, siis kaksitavuisia
merkkejä tiedostoon ja LATIN-1 on yhden tavun merkistö.
By default you are echoing utf-8 characters, that is characters with
two-byte representation to a file and LATIN-1 is charset with one byte
characters.
> &&& hi mom
> ($:~) more moreisless
> åöä hi mom
>
>
> So how to fix this?
>
Poista LATIN1 tai käytä LANG=fi_FI at euro:a lokaalinasi.
Remove LATIN1 or use LANG=fi_FI at euro as your locale.
More information about the fedora-list
mailing list