Re: less and LESSCHARSET=latin1 and scandinavian chars are &

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@euro:a lokaalinasi.

Remove LATIN1 or use LANG=fi_FI@euro as your locale. 





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux