LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't type some Slovenian alphabet characters after LV 2021 SP1

Up to LabVIEW 2021 SP1 (32-bit) there was no problem to type ČŠŽčšž characters into Labels and controls like Text Ring, Menu Ring, Enum, etc. After that LabVIEW version typing these characters with Slovenian keyboard into controls like Enum gives two characters. We are staying at LV 2021 SP1 because we hope that this would be noticed and fixed by now. But I have tested this with LabVIEW 2023 Q1 (32-bit), and the problem is still there. I didn't change the default LabVIEW.ini settings and both LabVIEW versions are running side-by-side at the same desktop. The results are shown in the figures below.

 

Bojan_0-1677083343774.png

 

 

Bojan_1-1677083343778.png

 

Bojan

 

0 Kudos
Message 1 of 15
(1,995 Views)

Just a guess:  Try putting this in labview.ini:

Useunicode = True

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 2 of 15
(1,962 Views)

Thank you Paul. I already try this, but it doesn't work.

 

I'am able to get this characters into LV 2023 Q1 labels and controls by copy/paste them from other Windows applications like Character Map or Notepad, but I can't type them with keyboard. There is no problem with LV 2021 SP1 or older LV, just with new versions. I think that by typing the text with keyboard, e.g. Č, I get two byte code U+010C and not the Windows: Central Europe code 0xC8 for this character:

 

Bojan_0-1677139028459.png

 

Bojan

0 Kudos
Message 3 of 15
(1,937 Views)

Hi Bojan,

 


@Bojan wrote:

I think that by typing the text with keyboard, e.g. Č, I get two byte code U+010C and not the Windows: Central Europe code 0xC8 for this character:


The Unicode encoding is correct, but the 0xC8 char can be quite different even in "Central Europe":

That's what I get with keystroke Alt+0200…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 15
(1,934 Views)

Thank you GerdW. You get letter È with keystroke Alt+0200 because you have German setting in Windows (Windows: Western).

 

But can you please try to type € simbol in Enum control with in LV 2023 Q1 (32-bit, English) and tell me what you get then?

 

Bojan

0 Kudos
Message 5 of 15
(1,917 Views)

For me doesn't work:

Screenshot 2023-02-23 15.17.55.png

0 Kudos
Message 6 of 15
(1,897 Views)

Hi Bojan,

 


@Bojan wrote:

But can you please try to type € simbol in Enum control with in LV 2023 Q1 (32-bit, English)


I'm sorry, but currently I'm limited to pre-subscription based LabVIEW versions. The most recent version I use is LV2021…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 15
(1,890 Views)

Unicode doesn't work for Enum.  It has to be ASCII.

 

Take a look NI's LabVIEW Unicode Programming Tools:
https://forums.ni.com/t5/Reference-Design-Content/LabVIEW-Unicode-Programming-Tools/ta-p/3493021#:~:....

 

 

George Zou
0 Kudos
Message 8 of 15
(1,883 Views)

Žalost

0 Kudos
Message 9 of 15
(1,880 Views)

Thank you, Andrey!

 

Something has changed in LV 2022 and later because if someone type € symbol into LV 2021 SP1 Enum control with keyboard, the encoding for euro symbol in Enum is one byte with hexadecimal value 0x80, while encoding for euro symbol in LV 2022 and later are two bytes with hexadecimal 0xAC and 0x20.

 

Anyone who has both LabVIEW versions and euro symbol on keyboard can try this.

 

Best regards

Bojan

0 Kudos
Message 10 of 15
(1,800 Views)