confused arabic when reading from excel-file
-
Hi I have an excel-table wich i use for a translation project. left side english right side the language that needs to be translated. I wrote a program that parses this table and will merge it with the C# resx files. in chinese it works very well but in arabic i fell into some problems. I can see this text in the excel table: {النتيجة الإجمالية - {0 If I convert the text, I finally get something like that (there is something twisted): النتيجة الإجمالية - {0} By the way, the same thing happends if you copy the cell from excel and paste it into the notepad. I tried to convert the string by using system.text.encoding... but didn't get far. Any suggestions or hints how to handle this problem? Thanks in advance, greets Snow.
-
Hi I have an excel-table wich i use for a translation project. left side english right side the language that needs to be translated. I wrote a program that parses this table and will merge it with the C# resx files. in chinese it works very well but in arabic i fell into some problems. I can see this text in the excel table: {النتيجة الإجمالية - {0 If I convert the text, I finally get something like that (there is something twisted): النتيجة الإجمالية - {0} By the way, the same thing happends if you copy the cell from excel and paste it into the notepad. I tried to convert the string by using system.text.encoding... but didn't get far. Any suggestions or hints how to handle this problem? Thanks in advance, greets Snow.
Hey Snow Flake! Encoding has nothing to do with it in that case, just try to set the Right to left and Right to left layout properties of the destination control to true, it should work fine then. Cheers.
Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)
-
Hey Snow Flake! Encoding has nothing to do with it in that case, just try to set the Right to left and Right to left layout properties of the destination control to true, it should work fine then. Cheers.
Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)
Worked for 100%, thanks for your help (even when this leads me into some new problems :-) ).
-
Hey Snow Flake! Encoding has nothing to do with it in that case, just try to set the Right to left and Right to left layout properties of the destination control to true, it should work fine then. Cheers.
Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)
Does arabic really work with totally mirrored desktops? I didnt keep this in mind :-(