On Wednesday 12 May 2004 06:49 pm, Behdad Esfahbod wrote: > No, you should use "cut -c 1 file", as you mean "a character", > not "a byte".
No, behdad, I _don't_ mean a character, I _do_ mean a byte. Isn't an Arabic utf-8 character encoded in two bytes? I think now it's a konsole bug since in gnome-terminal it worked Ok. This is one of the few components in GNOME where I think it's much better than it's kde counterpart. May be I need to file a bug to knosole maintainers. If it's still not clear I will send you a snapshot privately. If you can resolve it to something that would be a big plus in reporting the bug. > On Thu, 13 May 2004, Munzir Taha wrote: > > If I made a file with an Arabic letter in one line and an English letter > > in the > > next line. > > e.g. > > > > Ø > > b > > > > cut -b 1 file > > will display a space before the English character. Is this a bug which > > should be reported to ([EMAIL PROTECTED])? ;) > -- Munzir Taha PGP Key available gpg --recv-keys --keyserver www.mandrakesecure.net F0671821 Telecommunications and Electronics Engineer Linux Registered User #279362 at http://counter.li.org Mandrake Club member Maintainer of Mandrake Arabization Project Status http://www.arabeyes.org/download/documents/distros/mdkarabicsupport-en/ CIW Designer, ICDL, MOUS New Horizons CLC Riyadh, SA _______________________________________________ Developer mailing list [EMAIL PROTECTED] http://lists.arabeyes.org/mailman/listinfo/developer

