07-11-2023 08:53 AM
Hello,
I have an issue with monospaced fonts in Labview 2020 f3. When I use Courier font for a control and try to write special characters like ä,ö,ü in it then an additional space ist inserted at the end of text, and the cursor blinks there. That may be confusing when I want to edit the field, because the place where the cursor blinks is not the place where I actually write.
Is this related with the new UTF-8 feature?
Thank you for any hints!
07-12-2023 03:55 AM
Seems like a bug in the text control for UTF8 strings where the cursor position is still determined by the standard strlen() function rather than the UTF8 capable version. Considering the current status of CVI this might mean that it is a bug to stay in there forever.
07-12-2023 09:25 AM
In the project I used ASCII option, and strlen() gives in this case the number of characters, not 2 Bytes for special characters.
This behavior (with the cursor blinking in the wrong position) I observed only for monospaced fonts, all other fonts does not have this problem.