NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

hungarian characters

Hi,

 

I want to display hungarian characters in my MessagePopups steps from UTF8 strings contained in an inifile. For that, I use a Call Executable step which calls a python script.

 

It already works for French, English, Chinese characters but not for Hungarian characters. I do not understand because :

1) It works when i directly write a hungarian string variable in TestStand. The messagepopup displays a correct hungarian string

2) I checked the content of my python scripts 's returned string value and it displays the good value.

 

I do not see why it does not work considering these remarks.

 

Configuration

TestStand Engine Version:4.2.1(4.2.1.83)

Sequence editor 4.2.1.83

Licence: development system

OS: Windows XP

 

Thanks

 

 

0 Kudos
Message 1 of 3
(3,297 Views)

A few questions:

 

1) Is the default language for non-unicode programs on your machine set to hungarian? This is a setting on one of the tabs of the Region settings control panel for the OS.

 

2) Is the TestStand Station Options dialog Language option "Recognize multi-byte characters" checked?

 

3) Are you passing back the string with stdout or some other mechanism?

 

 

-Doug

0 Kudos
Message 2 of 3
(3,276 Views)

Hi Doug,

 

After checking all the things you ask me to control, i do not see mistakes. So I looked for another source of possible failure considering that TestStand correctly translates a string variable entered directly in TestStand with these characters. I tried to use a file per language instead of using only one file for all the languages and now it works. I think the problem came from the fact that the Chinese and the hungarian characters are not encoded in the same way. Previously I did not want to have separate language files but I realized that it is not a problem for my application.

 

Thanks Doug for your help Smiley Wink

0 Kudos
Message 3 of 3
(3,254 Views)