On Wed, 19 May 2004, Munzir Taha wrote: > 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?
That's why if you cut 1 BYTE of the character, what you see looks like an space. What's the problem exactly? b > 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])? ;) > > > > --behdad behdad.org _______________________________________________ Developer mailing list [EMAIL PROTECTED] http://lists.arabeyes.org/mailman/listinfo/developer

