11-10-2010 11:57 PM
Hi i am looking at translating some code i have written in english to polish.
i have a document that has all the translations i need but when i go to put them in labview some of the special characters are not being display.
for example "ł" gets displayed at "?"
does anyone know how to get these special characters to be displayed in labview.
Thanks Andrew
11-11-2010
05:00 PM
- last edited on
02-25-2025
10:45 AM
by
Content Cleaner
Hi Andrew,
It's likely due to Unicode support being disabled within LabVIEW. These 2 resources should help.
Displaying Non-English Characters in LabVIEW
A List of Tips and Tools for using Unicode in LabVIEW
All the best,
12-12-2010 08:20 PM
Having Issues Displaying Unitext in a combo box.
then the drop down is slected nothing shows up but the two blank options, if one is selected the correct text is then displayed (see attached example)
Anybody else had much sucsess with multilangual applications?
Thanks
12-13-2010 05:59 PM
I've taken a look at your code, and I see the same behavior. I recreated the drop down menu, but couldn't render the Polish words correctly within it.
I'm going to take a closer look at this tomorrow, and I'll be sure to let you know what I find out.
12-13-2010 06:07 PM
Thanks for you help
I am also looking into using convert from WideCharToMultiByte function and seting windows local using different code pages to display selected language. see attached example.
to get the characters to display correctly i need to change the "Language for non-Unicode programs" setting in "Regional and Language Options" to polish.
Does anyone know how to set the code page through labview?
Thanks Andrew
12-14-2010 12:06 PM
Hi Andrew,
I was able to reproduce what you've observed in your code - where choosing 'Force Unicode Text' works to display the selected combo box item, but the dropdown menu is blank. Unfortunately I wasn't able to find a workaround. Since Unicode is still officially unsupported, this type of issue may not have an easy solution.
The code you attached in your last post is missing a Unicode.lvlib and CodePage.ctl dependency. Would you mind attaching those files? Does MultiByte text work correctly for your application?
Kind Regards,
12-14-2010 04:16 PM
Hi Fred here are the two files needed sorry about that.
the multi byte solution does work as long as you set polish in the Language for non-Unicode programs under the Administrative tab in the Regional and Language Options.
Andrew
12-15-2010
10:09 AM
- last edited on
02-25-2025
10:46 AM
by
Content Cleaner
Hi Andrew,
If I understand correctly, you would like to be able to set the Control Panel regional settings from within LabVIEW? If so, I found one KnowledgeBase article that talks about getting that information from the kernel32.dll.
And the corollary is the SetLocaleInfo function as documented on the MSDN.
I'm not exactly sure how you would otherwise implement this function, but hopefully this gives you a good start.
All the best,
12-15-2010 11:20 PM
Hi
i only want to change the locale of the application that i run ie labview like you can do with the microsoft application "applocale" but i would like to do this programmatically
from what i understand you can not set the defualt locale with the SetLocaleInfo API.
Thanks Andrew
12-16-2010 01:32 PM
I see other's have struggled with this question as well.
This StackOverflow post talks about using calling the AppLocale utility from a batch script or using a command line clone to change the locale value.
Hope this helps,