المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : problem while drawing RightToLeft Chars



C# Programming
05-06-2009, 03:15 PM
Terminal Control Project (C# VT100 SSH Telnet)
Terminal Control Project (C# VT100 SSH Telnet) (http://www.codeproject.com/KB/IP/terminalcontrol.aspx)[^ (http://www.codeproject.com/KB/IP/terminalcontrol.aspx)]

hello, a great effort for this application ,but i met a problem while encoding to arabic ******** in unix server but i succses to do it, but i met another problem it is "How to enable RightToLeft drawing into the drawing area" how to solve it code any one help me? also each char is printed sperated and arabic is not like english chars are sperated ,arabic letters are joined

I solve the arabic encoding by:-

byte[] data = Encoding.Unicode.GetBytes(CurChar.ToString());
string chars = Encoding.GetEncoding("ISO-8859-6").GetString(data);&



but other problems still. http://www.barakasoft.com/script/Forums/Images/smiley_cry.gif

Tamer Fahmy
(Junior C-Sharp Developer)