Anyone know a programming editor for RTL languages?

Soldato
Joined
14 Apr 2003
Posts
4,950
Location
Deepest Yorkshire
Hey guys,
I'm trying to write some code which has strings with arabic in.
At the moment Notepad ++ and Notepad seem to mess up the code by switching everything from LTR to RTL when I put my cursor on an arabic character, therefore when i copy an array with arabic in and paste it back it reverses the array order and notepad++ even switches the text in the strings! argh!

has anyone dealt with this before? since I can't read arabic I have no idea whether my code is being changed around or not!

to see what I mean take this bit of code and select parts of the words and things in notepad ++! infuriating!

Code:
        private static string[] arabicOnes =
           new string[] {
            String.Empty, "واحد", "اثنان", "ثلاثة", "أربعة", "خمسة", "ستة", "سبعة", "ثمانية", "تسعة",
            "عشرة", "أحد عشر", "اثنا عشر", "ثلاثة عشر", "أربعة عشر", "خمسة عشر", "ستة عشر", "سبعة عشر", "ثمانية عشر", "تسعة عشر"
        };
 
Back
Top Bottom