This could be associated with the twitter-text parsing algorithm. I’m not sure whether that supports underscores in hashtags or in Arabic specifically.
[update: just tested that, and it seems to parse them correctly]
Can I confirm that this is only happening when you post via statuses/update, but not from the Twitter apps?