04-26-2007 05:17 AM
Solved! Go to Solution.
05-08-2007 03:16 AM
12-04-2009 03:22 AM
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
04-22-2010 01:05 AM
06-22-2010 05:39 AM
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.
06-23-2010 09:48 AM
You're a genius!
I already spent some time on writing a simple UTF-8 encoder in LV (Didn't want to use the ugly win32 API via Call Library). It's obsolete now and I'm happy about that
These primitives should definitely be added to the standard palette.
Please suggest that on the LV idea exchange, I'd give a kudos to you instantaneously
06-29-2010 01:18 AM
The suggestion is here:
Thanks,
shb
11-05-2010 02:06 PM
These primitives are indeed very useful and would be an nice addition to the LV API, but we felt that they had been insufficiently tested on the various OS LabVIEW supports to add them to the product.
Also, these primitives assume your system locale to do the ANSI<->UTF-8 conversion. A while back, I had a need to be able to convert foreign text that was not in encoded in my computer locale to UTF-8. So, a colleague of mine helped me write the appropriate Windows API call in LabVIEW to do that.
Some people might find these VIs useful, but they only work on Windows and they provided as-is, without any guarantee that they are free of bug. Use at your own risks!
09-27-2012 04:26 AM
Well, "SMTP Send Email Send Message.vi" contains "text to utf-8" since several LabVIEW versions. The function "text to utf-8" should be quite stable.
01-14-2013 08:17 AM
I used Text to UTF-8 in a VI, and it works very well, but the compiled .exe (created with application builder) of the same VI doesn't work. It runs, but results are wrong, and i think it's because of Text to UTF-8. Someone has any experience in compiling these functions?