How Can I Convert LabVIEW String to UTF-8 Text?

Updated Apr 4, 2023

Reported In


  • LabVIEW
  • JKI VI Package Manager

Issue Details

I'm trying to insert string data into a database. I need to send the data in the format of UTF-8, but I can't find any functions regarding UTF-8. How Can I convert LabVIEW string to UTF-8 text?


There is no basic function to convert LabVIEW string to UTF-8 text. However, you can conduct the conversion with Convert LV Text to UTF-8 function from NI Unicode Tools.
In order to use the function, follow these instructions below:

1. Install NI Unicode Tools from VI Package Manager(VIPM).
Open VIPM, find NI Unicode Tools and install it. For more information about searching and installing addon LabVIEW toolkits through VIPM, refer to the following archived KB below or tutorial from Related Links: Archived:Installing LabVIEW Interface for Arduino Toolkit Using VI Package Manager

2. Use the function for conversion.
From block diagram, navigate to Addons » Unicode. You can find Convert LV Text to UTF-8 function.

Additional Information

NI Unicode Tools addon is not an officially supported feature, meaning that it is not as fully tested as other released parts of the development and run-time environment. In addition, this feature is not covered under standard product support and parts of this feature may change in future releases of LabVIEW, i.e. any code developed on this feature may require changes when upgrading to a newer version of LabVIEW. This addon is compatible with LabVIEW 2015 or later.