maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Off Topic (https://talk.maemo.org/forumdisplay.php?f=19)
-   -   Who's here from the Middle-East region? (https://talk.maemo.org/showthread.php?t=42612)

ahmoda 2010-02-23 07:06

Re: Who's here from the Middle-East region?
 
Quote:

Originally Posted by SR90 (Post 542175)
Welcome aboard Ahmoda :D


Thanks for welcoming as i'm joining the club :cool:

Ahmed360 2010-02-23 07:09

Re: Who's here from the Middle-East region?
 
Nice

(10char)

SR90 2010-02-23 07:22

Re: Who's here from the Middle-East region?
 
Quote:

Originally Posted by ahmoda (Post 542187)
Thanks for welcoming as i'm joining the club :cool:

You are welcome :)

SR90 2010-02-23 07:23

Re: Who's here from the Middle-East region?
 
Quote:

Originally Posted by mukks (Post 542183)
Indian , Living in Dubai.

Lots of ppl from Dubai(UAE) , Bring it on Middle East :p

ps, Welcome

dov 2010-02-23 07:39

Re: Who's here from the Middle-East region?
 
Indeed it is nice to see that there are lots of locals. Perhaps we should together report on BiDi bugs that are still in the system. E.g. in chat messages, the message gets formatted as an LTR message if you have chosen an English name of your contact. The proper behaviour would be to ignore the name when deciding the message direction.

Ahmed360 2010-02-23 08:05

Re: Who's here from the Middle-East region?
 
Quote:

Originally Posted by dov (Post 542222)
Indeed it is nice to see that there are lots of locals. Perhaps we should together report on BiDi bugs that are still in the system. E.g. in chat messages, the message gets formatted as an LTR message if you have chosen an English name of your contact. The proper behaviour would be to ignore the name when deciding the message direction.

You mean if the contact name was in arabic?

If thats the case, tell me exactly how does this happen, i might be able to get it through...;)

Cause one of my jobs is to check arabic related problems

Peace

dov 2010-02-23 11:42

Re: Who's here from the Middle-East region?
 
I actually haven't tested it with a RTL name, but only with LTR contact names, in which case it doesn't work correctly. E.g. if I send an SMS and with the message "SHO HADA?" where I use the convention that capital letters signifying RTL letters and small letters LTR, my SMS conversation will say:

you: ADAH OHS?

i.e. the question mark is in the beginning of the RTL sequence and not at the end. That is because the "base direction" (in the terminology of the Unicode Bidirectional Algorithm, see: http://www.unicode.org/reports/tr9/tr9-21.html ) is not determined by the contents of the message.

The way I implemented this in gtk is to look for the first "strong character" of the paragraph and let it determine the bidi direction. In gmail chat on the other hand it seems like they have some kind of "voting" so that if more characters are RTL than LTR then this becomes a RTL paragraph. But most environments just determines the base direction from the locale, which unfortunately mostly is wrong.

I guess I should copy his message to the Nokia bugtracking forum.

Regards,
Dov

Quote:

Originally Posted by Ahmed360 (Post 542239)
You mean if the contact name was in arabic?

If thats the case, tell me exactly how does this happen, i might be able to get it through...;)

Cause one of my jobs is to check arabic related problems

Peace


dov 2010-02-23 11:48

Re: Who's here from the Middle-East region?
 
I reported this as https://bugs.maemo.org/show_bug.cgi?id=9234

agogo 2010-02-24 06:36

Re: Who's here from the Middle-East region?
 
Bahraini here :D


All times are GMT. The time now is 20:00.

vBulletin® Version 3.8.8