开发者

Wny Linux sends unicode keyboard events while Windows sends ANSI

开发者 https://www.devze.com 2023-01-17 13:58 出处:网络
Unde linux, the foreign keys such as ü Ü do not seem to work with this code: String.fromCharCode(e.charCode).toLowerCase();

Unde linux, the foreign keys such as ü Ü do not seem to work with this code:

String.fromCharCode(e.charCode).toLowerCase();

The output is wrong under Linux, but Windows is Ok.

开发者_高级运维

Here is sample page to debug this: the output of foreign keys such as ü with Linux looks same here, totally broken, two chars appear: http://www.bgxcomponents.com/flashValidateRegExp.htm


Could be this Flash Player bug.

0

精彩评论

暂无评论...
验证码 换一张
取 消