Persian character are shown reverse and disconnected by C# application running on rasbian jessie OS via MONO Cross Compiler
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Persian character are shown reverse and disconnected by C# application running on rasbian jessie OS via MONO Cross Compiler
Hi,
I am using the latest release of rasbian jessie OS. I am running a c# application through mono on jessie. I see my application window shows the persian and arabic characters as reverse and disconnected. Can anyone tell me how to fix this issue.
If I run a java application, that shows the persian character correctly, where as C# through mono only shows the persian characters as disconnected. Is it the problem with OS or Mono Cross compiler. Can Anyone give my solution which is very very urgent
I have tried opening the file in UTF8 as well as in UNICODE
Hi,
I am running the application in Raspberry pi, which has Rasbian jessie OS. In that i have installed Mono. I compile my C# application in windows, and run the executable in Raspberry pi using mono. My application is simple, a form which displays Persian text. I read from a file and assign the text to a textbox of a windows form application.
I compile using the visual studio. When i run the application on raspberry pi, i see the text box content are reversed and disconnected.
I tried opening the file in UTF8 and UNICODE format, and read the content. Both way the text are disconnected only.
The problem might be the font used. A good source of Persian fonts is http://www.wazu.jp/gallery/Fonts_Arabic.html
To install a font in Linux. create a folder .fonts in your home directory and just put the font into it.
I already tried Lot of fonts from the mentioned Website
Dear Sir,
I have already tried so many fonts from this web site, could not succeed. Reverse problem i somehow managed to correct it, but disconnected display only issue.
I have attached a sample windows form, which displays the disconnected characters. Kindly have a look.
The problem must be in the Mono system of C#, but I know nothing about them. A search for "C# persian" came up with this, which I can't read but you obviously can! http://persiadevelopers.com/
I just can remind that most software that implement the bidi algorithm (see also here) rely on the fribidi library mostly written by Behdad Esfahbod. So, if some software doesn't properly display Persian text I would check if it relies on fribidi directly or indirectly and how it uses it.
Sorry not to be able to help more.
Last edited by Didier Spaier; 02-02-2017 at 05:12 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.