From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-01-2012 01:48 PM - edited 06-01-2012 01:51 PM
I have a machine that is fully developed and runs fine, but now it needs to go to China and they would like some of the buttons to be in Chinese.
Can I send Chinese characters to a button?
Thanks,
Doug
Solved! Go to Solution.
06-01-2012 01:57 PM
You need to format the font of the button to be a chinese font rather than a normal Windows font such as Tahoma.
06-01-2012 01:58 PM - edited 06-01-2012 02:00 PM
Welcome to the LabVIEW and Unicode world!
Yes you can put chinese characters in a button.
Take a look at this (if you haven't already)
https://decibel.ni.com/content/docs/DOC-10153
06-01-2012 02:09 PM
Hi nonecure,
Yes it is possible to do this, you will need to use Unicode. Here’s a link to a community example I think will help you. If you have any other questions about this, please let me know.
https://decibel.ni.com/content/docs/DOC-10153
Regards,
Daniel C
06-01-2012 02:10 PM
This is one of those "I should have known that" moments. I wanted to be able to show english and chinese in the same button. I guess I would have to change both the text and font property node to make this work.
Is there a unicode type font that would display both?
06-01-2012 02:15 PM
Yessir, there is
As written in the document I linked earlier:
Two specific fonts commonly available on Windows that include most Unicode characters are Arial Unicode MS and Lucida Sans Unicode.
06-01-2012 02:17 PM
by Joel Spolsky
06-01-2012 03:26 PM
I don't have the Arial Unicode MS font, am I missing something? I do have the Lucida Sans Unicode, but it does not display any different.
06-01-2012 03:32 PM
The button will not display chinese (or any special characters for that matter) by simply changing the font.
Unfortunately, there is a little more that has to be done to achieve this. Please read the link I sent you earlier. I will post an example soon enough.
06-01-2012 03:48 PM
Here's an example: