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

Re: Arabic Mandrake Cooker ?

On Thursday 18 December 2003 00:33, Diego Iastrubni wrote:
> ביום רביעי, 17 בדצמבר 2003, 23:27, נכתב על ידי Nadim Shaikli:

> May I suggest another thing?
> Remaster the first disk. It's a 30 minutes job, and it will give you a
> FULLY Arabic distro. It's a tricky job, but I think I still remember how t
> is done.

I will appreciate it if you send me the method since this will enlighten me 
more about which file or configuration to suspect in case of a problem.

Diego, as an thankful word I want to present you an ode/bug that need solving

Let's say you want to use BIDI
Your glyphs are sickly and don't display all right

Call out, "Hey, Unicode, help!"
And it will change your code page in mid-flight.
It will also add an extra byte.

Your applications is now confused
It doesn't know its left from right

This is why encoding with Unicode is experimental 
Until we know where is the missing byte.

This is what I am speaking about

Deleting Arabic text in terminals in response to an interactive command using 
BACKSPACE will delete the question itself!

When you type any interactive command in the console (e.g. rm -i), you will be 
faced with a question such as:

rm: remove regular file `filename'?

Now, if you switch to Arabic and type some Arabic letters then BACKSPACE to 
delete them, you will delete letters from the question itself which is equal 
to the number of the typed Arabic letters. Looks as if something concerned 
with Arabic being double byte and the UTF-8 encoding. This problem is in 
konsole, xterm, mlterm, gnome-terminal, ... 
[http://qa.mandrakesoft.com/show_bug.cgi?id=5645] (update: if you type any 
Arabic letter in a shell's prompt, you won't see it, this happen in all of 
them except gnome-terminal, try to discover where has it 'the missing byte' 
gone ;) )

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 (MAPS)
CIW Designer, ICDL, MOUS
New Horizons CLC
Riyadh, SA