LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

chinese fonts from csv

I've a application with multiple languages. All the translations are in a Excel file, for each language a column. I save the Excel file as csv file and read them in by starting the application. The user can switch online between the language by selecting the column from the csv file. It works fine. But now I've to add a column with chinese language. To enter the chinese fonts in the Excel file is not a problem, but after saving as csv file an read in the csv file in LabView 7.1 there is nothing in chinese at the Panel.
Is there anyway to do it at this way, or is it necessary to create a special release with chinese fonts without the csv file.
0 Kudos
Message 1 of 3
(3,108 Views)
please have a look here...
http://forums.ni.com/ni/board/message?board.id=170&message.id=52220&requireLogin=False
reply 6: the software "china star" which is running in the background could help...
0 Kudos
Message 2 of 3
(3,096 Views)

Sounds like what you are looking for is a way for LabVIEW to display multiple languages at once, more precisely Unicode.  Unfortunately, LabVIEW strings/listboxes, etc do not support Unicode currently, this means that displaying Chinese text in a LabVIEW string control is impossible, unless you have set your machine up to use the Chinese locale.

LabVIEW strings use the system's multibyte encoding for strings.  On the same machine, given different options in the control panel (assuming Windows here) you can have LabVIEW display almost any text that you want.  Where you will get into trouble however, is displaying multiple languages simulataneosly.   That is, it may not be possible to show some characters given a specific setup.  For example, LabVIEW cannot display Chinese characters when setup to use US English, and cannot show special charcters in German, if you are current setup to Chinese. 

Also, if the spreadsheet happens to have Unicode characters in it, LabVIEW may not be able to display it at all.

Depending on what you want to do, there are a number of workarounds to this problem.    If you are interested, just reply to this post.

 

Jeff Peters

LabVIEW R & D

0 Kudos
Message 3 of 3
(3,092 Views)