Cestina ve freebsd???

Jan Pechanec jp at devnull.cz
Sun Oct 29 00:47:02 CEST 2006


On Sun, 29 Oct 2006, Pav Lucistnik wrote:

>Jindra Fucik píše v so 28. 10. 2006 v 20:17 +0200:
>
>> Ahoj vespolek,
>> 
>> mam problem s 6.2-PRERELEASE.
>> Pokud pracuji s textem s diakritikou, prestavaji nektere prikazy fungovat. 
>> Jednoduchej priklad:
>> 
>> >echo "'30','10','Tade\341\271'"
>> '30','10','Tadeáš'
>> >echo "'30','10','Tade\341\271'" | cut -f 6 -d " "
>> cut: stdin: Illegal byte sequence
>> >echo "'30','10','Tade\341\271'" | tr "'" "X"
>> tr: Illegal byte sequence
>> 
>> Mam neco spatne nastaveno v locales?
>
>Hmm, a to \341\271 ma byt co?

	octalova reprezentace znaku, nektery echa to umi, printf(1) taky.

	h.

-- 
Jan Pechanec <jp (at) devnull (dot) cz>
http://www.devnull.cz


More information about the Users-l mailing list