Jump to content
crelf

[CR] Convert between ASCII and Unicode

Recommended Posts

index.php?app=downloads&module=display&section=screenshot&id=2

Name: Convert between ASCII and Unicode

Submitter: crelf

Submitted: 30 Jun 2009

File Updated: 17 Apr 2010

Category: General

Version: 1.1.0

LabVIEW Version: 8.2

License Type: Creative Commons Attribution 3.0

Copyright © 2006, Christopher G. Relf

All rights reserved.

Author:

Christopher G. Relf

christopher_relf@yahoo.com

Distribution:

This code was downloaded from:

http://forums.lavag....odule=downloads

Description::

Convert between ASCII and Unicode

Version History:

1.1.0: Faster ASCII to UNicode alogrithm

1.0.1: Bug Fix - Removed increment in "Convert Unicode to ASCII.vi"

1.0.0: Initial release of the code.

Click here to download this file

  • Like 1

Share this post


Link to post
Share on other sites

Hi all

I used the Persian language in my application I use a program Convert between ASCII and Unicode V 1.0.0.

But when I run the application on the destination computer, I have two problems:

1 - Words should be from right to left, but there are from left to right

2 - Letters should be sticking together, but there are separated

How do I solve these problems

my labview version is 2009.

in my computer , i write useunicode=true in "labview.ini"

Grateful

post-27567-0-89216300-1346418897_thumb.j

post-27567-0-17935000-1346418944_thumb.j

Share this post


Link to post
Share on other sites

I think that those setting (orientation and direction) are properties of the string control.

It's not something that should be dealt with in such a tool.

Ton

Share this post


Link to post
Share on other sites

Your Windows regional settings are configured for RTL, correct?

Share this post


Link to post
Share on other sites

I think that those setting (orientation and direction) are properties of the string control.

It's not something that should be dealt with in such a tool.

Ton

i don't find any setting for orientation and direction.

may you show me.

Your Windows regional settings are configured for RTL, correct?

destination computer doesn't have any font!

i don't have Windows CD.

Can i install my font(Persian Font)?

Share this post


Link to post
Share on other sites

I know how to Configure Windows for right-to-left languages such as Arabic, Farsi or Hebrew but when i ticked "Install files for complex script and right-to-left languages (including Thai)" , i should insert windows CD in CD-ROm and i don't have Windows CD.

Share this post


Link to post
Share on other sites

Then find a Windows CD? Or search to see if you can download something from Microsoft to install the languages.

  • Like 1

Share this post


Link to post
Share on other sites

LabVIEW has no official support for right-to-left languages. I can say that it sort of works with Hebrew (in ASCII) if you know what you're doing, but I haven't tried with Arabic, so I don't know about connected letters. In any case, even when it does work, as soon as you add in anything which isn't part of the R2L set (such as a comma or a hyphen or a number), the display gets reversed.

If you're on Windows, you can try using a .NET or ActiveX control and using the rich text box. That should display the text correctly.

  • Like 2

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.