VisualFBEditor
VisualFBEditor copied to clipboard
Punctuation does not work in editor for unicode characters
I tried to write a Print message in Greek. The editor shows the greek characters but without punctuation For example i get a greek α but not a greek ά
Shows this symbol when copying and pasting.
What keys do you press to get this character?
For copy/paste it works. For keypress does not work. To print a Greek ά you need a Greek keyboard layout for Ubuntu-mate as mine. I wrote a small program to detect the ascii code of key i press to show the Greek ά.
Dim As Long key Do key = GetKey Print "key: " & Chr(key) & "=" & key Print "Press q for quit" Sleep Loop Until Chr(key) = "q" End
Output
key: ;=59 Press q for quit key: q=113 Press q for quit
The Greek ά is produced by pressing first ; and then a (;a=ά )
Unicode characters are ok in code editor in Windows. This bug affects only linux version of code editor.
On Windows (Windows API), standard events return the correct characters, but on Linux (GTK), standard events return a character without punctuation. I don’t know how other programs did it.