2010/2/11 Patric Mueller <bh...@gmx.net>: > Michal Suchanek <hramr...@centrum.cz> wrote: >> 2010/2/7 Patric Mueller <bh...@gmx.net>: >>> Michal Suchanek <hramr...@centrum.cz> wrote: >>>> On 6 February 2010 15:23, Patric Mueller <bh...@gmx.net> wrote: >>> >>> I'm not sure that the not so common cases you're thinking of are that >>> rare. For example, my OS is completely utf-8 capable, but I prefer my >>> shell to be in latin1. >> >> That's certainly unusual, especially given that latin-1 should work in >> utf-8 without additional conversion. > > That's not correct, the latin1 characters 127-255 are not legal utf-8 > characters. You're probably thinking of 7-bit ASCII or that all latin1 > characters are equal to the first 255 unicode codepoints?
For some reason they are correct enough that cat somefile.txt would show them. However, less somefile.txt would mark the characters with 8th bit set as invalid as they usually don't compose into a valid utf-8 sequence. So you can view them but it's probably not correct behaviour that it is possible. Thanks Michal -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org