From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Display captions in UTF-8 Chinese with Labview 2012

I've currently browsered over these sources

 

http://forums.ni.com/t5/LabVIEW/Reading-UTF-8-Files-in-Labview/m-p/792532/highlight/true#M361868

http://forums.ni.com/t5/LabVIEW/undocumented-function-quot-text-to-utf-8-quot/m-p/1034616#M460673

forums.ni.com/t5/LabVIEW-Idea-Exchange/Add-quot-Text-to-UTF-8-quot-and-quot-UTF-8-to-Text-quot-to-the/idi-p/1163291

http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Support-Unicode/idi-p/921449

 

Which provide little to no answer.

 

Basically I need to read a UTF-8 string from a file, and display it as a capation for Front Panel Objects (so that localization can change based on the users language). Is this possible in Labview? From what I've read so far this seems to be outside of LV's functionality.

0 Kudos
Message 1 of 5
(3,117 Views)

Attached is the VI I'm using in these tests.

 

This is why I see something like this:

\xC390 = 郂菃

On my US-Eng computer when I tell labview to convert to UTF-8

While the UTF-8  code points I’m referring too (U+00D0 or \xC390) should be Ð not 郂菃

 

0 Kudos
Message 2 of 5
(3,097 Views)

Hi Valarauca,

 

Unfortunately, LabVIEW has limited support for Unicode and it is not an officially supported feature. You may experience different results on different operating systems and different versions of LabVIEW

 

With that said, you can refer to this document for more information on Unicode in LabvIEW : https://decibel.ni.com/content/docs/DOC-10153.

0 Kudos
Message 3 of 5
(3,054 Views)

And for heaven's sake, be careful with this Unicode stuff.  It can screw up your LabVIEW setup - and all VIs that it touches - pretty royally if you're not careful.  (I think that starting with LabVIEW 2010 it's reversible, but still a pain to undo.)

 

That's probably why it was never officially incorporated into LabVIEW.

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 5
(3,018 Views)

This is what you want?

Download All
0 Kudos
Message 5 of 5
(2,975 Views)