LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why this .vi file display Garbage Characters while opened in LabView UI?

The button strings, most of them , are written in Chinese characters.

 

But I think it should display fine, because we can use UTF-8 encoding , right ?

 

I have installed an evaluation version of the 2018 labview software, which is an English version, 

 

 I do not think I will have to download 2G more files, to reinstall a Chinese version, that would be toooo time &Downstream Traffic consuming !

 

Why not just display correct in an English version ?

 

 

It is supposed to display like this

 

johndoe20200511_0-1589167378290.png

 

While it actually displayed like this-_-

 

johndoe20200511_1-1589167473492.png

 

 

I am using an evaluation of labview 2018

 

johndoe20200511_2-1589167500433.png

 

 

 

 

0 Kudos
Message 1 of 4
(2,702 Views)

LabVIEW doesn't handle UTF-8.  It can handle UTF-16 LE (with some effort).  https://forums.ni.com/t5/Reference-Design-Content/LabVIEW-Unicode-Programming-Tools/ta-p/3493021 

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 2 of 4
(2,681 Views)

How would LabVIEW know how to translate Chinese characters to English?  Your talking about programmer defined labels for controls.  It might be a bunch of random chinese symbols that have no translation to English.  Just like someone could create labels in English that aren't words, but just abbreviation or even gibberish.

0 Kudos
Message 3 of 4
(2,674 Views)

I think that this is the result of trying to display a double-byte character set in single bytes.  I believe it is Windows that chooses to display the results in Chinese.  I forget exactly why, but it has something to do with the Unicode page number or something.

 

I think I misunderstood the first post.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 4
(2,626 Views)