StringFromKeyCode and LastKeyCode bug

Bugs will be moved here once resolved.

Post » Sat Aug 09, 2014 9:46 pm

Problem Description
Using code Keyboard.StringFromKeyCode(keyboard.LastKeyCode)
If you type in a ' character as in don't you will get DON#T -

Attach a Capx
https://www.dropbox.com/s/3v6qmctd0ljtz ... yCode.capx

Description of Capx
simply run it and type in don't or are'nt or similar with a apostrophy in it

Steps to Reproduce Bug
  • Step 1
  • Step 2
  • Step 3 etc.

Observed Result
the character # is returned

Expected Result
I expected the character ' to be returned

Affected Browsers
  • Chrome: (YES/)
  • FireFox: (YES/)
  • Internet Explorer: (YES/)

Operating System and Service Pack
____ Your operating system and service pack ____

Construct 2 Version ID
175
B
37
S
9
G
5
Posts: 437
Reputation: 6,094

Post » Mon Aug 11, 2014 2:27 pm

Can't reproduce, I get "DON'T" here. Besides the browser does the conversion, so there's not much we could do about this, it probably relates to language/keyboard settings.
Scirra Founder
B
397
S
236
G
88
Posts: 24,419
Reputation: 194,542


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests