LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

unreadable text characters

Hello,
I have created an application in which the user can  customize the language of the names of the front panel objects. At the start the application reads a text file. From this file the program conveys the strings to property nodes to display the information in captions of controls or string indicators. The user can modify the text file in a submenu. Usually the standard text is in English, but the user can translate it into a local language. The text file is written with the Write Character To File.vi and read with the Read Characters from File.vi .
 
Of course, the user normally works with a localized version of Windows. All goes well if the file is translated into German, French, Danish, even Chinese and Japanese seems to be working fine.
Now the problem is that in Czech or Polish some characters (e.g. c or l with diacritics) are not displayed correctly, even in the input String Control. Furthermore alos Russian.
So  LabView seems to use a different ascii code set than the local Windows OS.  .
 
I am using LabView 6.1.The application was made on a PC with Windows XP (German). I have LV 8.01 at hand if that would help. 
Any ideas?
 
0 Kudos
Message 1 of 5
(4,472 Views)

This sounds like an issue with the fonts and not LV. Specify a font that renders those characters correctly and you should be on your way.

I hope this helps,

Ben

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 5
(4,463 Views)
Also, try going into the regional options and changing the language in both tabs to English, apply and then change the language back to whatever it was.

___________________
Try to take over the world!
0 Kudos
Message 3 of 5
(4,441 Views)
Bingo. Smiley Happy The standard application font cannot display these special characters. If the program user has the opportunity to choose a local font (with the property node Text.Font:Name), it works (at last in Czech language with Arial CE).
Thanks a lot, Ben.
 
Just out of curiosity: I wonder why the standard application font is able to display the Japanese and Chinese characters.
 
0 Kudos
Message 4 of 5
(4,411 Views)

There is a fine comparison of fonts and a list of supported languages under

http://en.wikipedia.org/wiki/Unicode_font

 

Message 5 of 5
(4,400 Views)