• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

HTML5 (GMS 1.4) AltGr-Characters like '@' don't get Registered Correctly in HTML5

TheMagician

Member
It seems like in the HTML5 target the variable keyboard_string doesn't recognize characters in combination with the AltGR key like '@' or '|'.
Instead, '@' produces 'q' and '|' produces nothing.

I'm using the following simple method to append the current content of keyboard_string to a variable:

GML:
if (keyboard_string != "")
{
  text += keyboard_string;
  keyboard_string = "";
}
Is this a known limitation? If so, are there any workarounds to get these characters recognized?

(By the way, I've tested the exact same code in GMS 2 and the characters are recognized correctly!)
 
Top