01-07-2026 03:48 AM
hi guys,
I am a LabVIEW new learner from Vietnam.
From the forum I found out a way to set up how to use Vietnamese in LabVIEW. It works well with string control and string indicator, but when I try to use some function like the "on button dialog" I still get the font error like the picture below.
I also try to add "UseUnicode=TRUE" in LabVIEW.ini, but it does not help at all.
Any ideas for me?
Solved! Go to Solution.
01-07-2026 08:25 AM
In addition to "UseUnicode=TRUE", the text has to be set to "Interpret as Unicode". This is a text property that gets applied character-by-character (like font attributes); thus when you set that property, it only affects the characters specified that are selected.
Also, there is a property of string controls and constants called "Force Unicode Test"
When it is set to FALSE, as you type text, it tries to figure out if the text is ASCII or Unicode.
When it is set to TRUE, as you type text, it always assumes that it's Unicode.
01-07-2026 01:07 PM
Some LabVIEW calls, such as the one-button dialog and two-button dialog, are "system" calls rather than LabVIEW ones. These system calls do not accept Unicode.
I had to add Unicode support to one of my applications to be used in an overseas factory and when I did so, I had to replace all calls to pop-ups like that (plus a few other functions) with custom-made ones that do support Unicode, and they do use the property that Paul notes in his post.
Unfortunately I can't share the custom popups I made as they are both company property and integrate with some other custom company code as well. But replicating pop-ups isn't too difficult, hopefully.
01-07-2026 02:02 PM
@Kyle97330 wrote:
Some LabVIEW calls, such as the one-button dialog and two-button dialog, are "system" calls rather than LabVIEW ones. These system calls do not accept Unicode.
That is very useful information. I wonder if that was the problem with my last failed Unicode attempt 🤔
01-07-2026 08:51 PM - edited 01-07-2026 09:36 PM
Thank you, Paul. I will try with your suggestions
01-09-2026 02:47 AM
I found out that LabVIEW functions like a one-button function, they are using the font "Segoe UI". If there is a way to change the default font of the function, that would help a lot without building another function
01-13-2026 06:29 AM
You can set Application Font-key in labview.ini (and/or your applicaions .ini)