Unicode in .NET
Posted: 2007-02-21T03:49:07-07:00
I use MagickNet library.
I need to draw arabic and russian text. Programming language is C#. I enter text to TextBox control (text stores as unicode) and then try to draw it, but it draws just '????'. If I enter russian leters in TextBox then I recieve wrong letters.
A try to set property myTextImage.TextEncoding = "UTF-8" and "UTF-16", but nothing changes.
Tell me please how to draw right russian and arabic letters.
Thank you
I need to draw arabic and russian text. Programming language is C#. I enter text to TextBox control (text stores as unicode) and then try to draw it, but it draws just '????'. If I enter russian leters in TextBox then I recieve wrong letters.
A try to set property myTextImage.TextEncoding = "UTF-8" and "UTF-16", but nothing changes.
Tell me please how to draw right russian and arabic letters.
Thank you