On a US keyboard, one could have code like :
If Lettertyped = "A" then ....
How does one go about capturing letters on a Russian keyboard?
i.e.
If lettertyped = "Л" then...
If lettertyped = "Щ" then...
Any help would be appreciated.
David
Printable View
On a US keyboard, one could have code like :
If Lettertyped = "A" then ....
How does one go about capturing letters on a Russian keyboard?
i.e.
If lettertyped = "Л" then...
If lettertyped = "Щ" then...
Any help would be appreciated.
David
Dave
I'm not much of a character-set kinda guy, but ..
for starters, maybe this Wiki link
https://en.wikipedia.org/wiki/Cyrill...ipt_in_Unicode
Spoo
@kembreg: It's basicly the same as on US keyboard. The problem is that you have to *compile* your sources w/ machine code page set to cp1251 for "Л" and "Щ" to be compiled correctly to unicode in the binary because in the sources these are single-byte encoded in current code page.
Another option is to replace these string literals with Chr$ or ChrW$ as to be independant from build machine code page i.e. keep default cp1252 for US locale on build machine and still be able to operate correctly at run-time on locales w/ cp1251 code page set.
cheers,
</wqw>