LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

undocumented function "text to utf-8"

Solved!
Go to solution
Hello everybody
 
In the VI "SMTP Send Email Send Message.vi" I found a function named "text to utf-8". (See attached Image.) There is a short description in the context help, but no documentation in the help. I can not find the function in the VI palette. How can I add it there? Is there a counterpart to translate Unicode to (LabVIEW) text? This would be verry useful.
 
Greetings
shb
 
0 Kudos
Message 1 of 24
(45,656 Views)
Hello shb,

I've search for this VI. But I can't find it too.
You cannot add it there because it is a SubVI from the "SMTP Send Email Send Message.vi"
You can find the
SMTP Send Email Send Message.vi in blockdigramm rightklick-> Data commication->Protocols->Mail. If you want to choose this SubVI text to utf-8, you have to doubleclick on the VI, then the SubVI behind popup and then you can see the  "text to utf-8.vi". If you find that VI, you could seperate it and add it in your user Libary.  If you have a LV 8.0 or higher you could add the VI: go to  Tools-> Anvanced->Edit Palette Set. That go to the Top an rightklick->insert->VI and add the seperated VI.
If You have an older LabVIEW please see this KB:
http://digital.ni.com/public.nsf/websearch/271E4F55D1BC728286256903006AE627?OpenDocument
There is no further
documentation to this VI. I cannot find any counterpart to the VI. But you can convert the UTF-8 code to ASCII an that can be read by LabVIEW.

Best Regards
Arsala
0 Kudos
Message 2 of 24
(45,582 Views)
Solution
Accepted by topic author shb

More than two years have passed. Now I found the counterpart named "UTF-8 to Text" (by using VI-Scripting).

If anybody else wants to convert text to or from UTF8, the two functions are in the appended VI (saved for LabVIEW 8.0).

 

Greetings,

shb

Message 3 of 24
(45,172 Views)
Thank you very much! I am writing  a kml file for Google Earth. It accepts UTF-8. Text to UTF-8 really works perfect!
0 Kudos
Message 4 of 24
(44,979 Views)

Thank You!

 

I was having an issue with an XML parser not seeing all of the nodes...   Boiled down to a UTF-8 conversion error, which this VI took care of.   

0 Kudos
Message 5 of 24
(44,844 Views)