Using Eclipse with Arabic and English in one line

I just noticed how I did string comparisons in Eclipse that when I put an Arabic character in a string, it completely throws out Eclipse. How can I change the English and Arabic languages ​​on one line of code?

** EDIT **

Now that my question has been moved here, I assumed that some code is in order. I tried to do the following in Java:

Character c1 = 'ة';
Map<Character, Double> arabicRootMap = new HashMap<Character, Double>();
arabicRootMap.put(c1, 5.0);

The same thing happens here in SO, like in Eclipse, where instead of putting c1 on my card, I would like to immediately put my Arabic character on the card, but mine from left to right - the order is partially broken, and the new mixed cursor navigation on lines are crazy. As you can see, I have an indirect solution to the problem by pre-setting the character.

+5
source share
1 answer

So this is my answer, substitution whenever you have a character or string that should be in the middle of the statement. This becomes quite time consuming as you create lines of varying lengths and cannot predefine each written Arabic word. If there is a better answer, I would like to hear it.

+1
source

All Articles