This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Does LabWindows™/CVI Support the Unicode Character Set?

Updated Nov 30, 2021

Reported In

Software

  • LabWindows/CVI

Issue Details


I am using LabWindows™/CVI and would like to use characters from the Unicode character set. When I define _UNICODE in the preprocessor, the linker gives an error stating that default libs conflict with other libs.

I'm trying to access a data type in an external application from CVI that uses Unicode characters, and I keep receiving errors saying that the data types are incompatible.

Solution

LabWindows™/CVI 2020 adds full support for Unicode (UTF-8 Encoding), adding multi-language support to developers and enabling them to create UIs for multiple regions with less headache. 

LabWindows™/CVI version 2019 and older do not support the Unicode character set.

 

Additional Information

In LabWindows™/CVI versions prior to 2020 the wide character type wchar_t is identical to the single-byte char type. These versions of LabWindows™/CVI accept wide character constants that you specify with the L prefix (as in L'ab'), but only the first character is significant. Furthermore, library functions that use the wchar_t type operate only on 8-bit characters.