LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Display Polish Special Characters in executable

Solved!
Go to solution

Hi, I need to translate a LabView application from english to polish.
The polish special charcters are displayed correctly when running the program in the IDE, but not when running the executable after built.
Compare picture below:

DMSteam_0-1704883650773.pngDMSteam_1-1704883768248.png

I am loading the text from a txt file with UTF-16 encoding and using "Force Unicode Text" on the string indicators. 
I have also tried loading the text from a string constant directly to the indicator, with the same result.

Does anyone have an idea to why I can't display the characters correctly in the executable?
I am using LabView 2019

 

 

0 Kudos
Message 1 of 5
(615 Views)

Have you tried changing your regional settings in windows control panel?

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YIFDCA4&l=sl-SI

 

Or setting the "UseUnicode" to TRUE in labivew.ini file?

0 Kudos
Message 2 of 5
(614 Views)

Thanks, but I have UseUnicode=True in the config file and changing the regional language did not help

0 Kudos
Message 3 of 5
(573 Views)

Your executable doesn't use LabVIEW.ini

You have to add UseUnicode=True to your application.ini

 

 

George Zou
0 Kudos
Message 4 of 5
(554 Views)
Solution
Accepted by topic author DMSteam

paul_cardinale_0-1704904500370.png

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 5 of 5
(550 Views)