After we upgraded from 7.9 to 8.0.2 we could not anymore enter negative values to numeric text input fields. If value came from PLC it showed without problems. If it was entered manually it read the value as positive value.
After trying to figure this out we noted that if we copied value from field to notepad we received bit longer - character than from keyboard input and if we tried to save this file we receive a notification about ansi conversion of file.
Any ideas what to check or do?
Hi @asko.penttila,
Sorry for the delay, this sounds like you are using an M-dash or N-dash instead of a hyphen (the minus sign). It may be due to your locale mapping one of those dashes to the key you are using so i would confirm what language your keyboard input is set to. You can see the examples below:
- (hyphen)
– (n-dash)
— (m-dash)
You will notice that the hyphen even alters the syntax highlighting in the block.
Thanks,
Jonathan C
Hello,
I raised a ticket for this (#97417) , It was identified as a bug and is waiting for a fix. Behaviour was also for tag browser. I think it has something to do with Finnish Keyboards / Language settings and client being packaged with its own java now? I didnt get any details so I’m just guessing. It worked before update just fine.
This issue was fixed in the 8.0.4 Nightly build that was uploaded today (7/22).
The problem isn’t that we’re bundling Java, it’s the version of Java. Java 9 and above decided to change the default minus sign for some locales, and it turns out not to be the character you type from your keyboard. We did some trickery behind the scenes to convince all versions of Java that the hyphen sign on your keyboard is a minus sign, no matter the locale.