|
楼主 |
发表于 2024-6-22 20:54:04
|
显示全部楼层
Thank you for sharing example projects, but I actually already tried this method - using extended ASCII table. In case of Russian language it is possible to use "1251 Cyrillic" and "866 OEM-Russian". But finally it not works properly. When there is ASCII character that is bigger than 0xF7 than cursor behaves abnormally - it jumps by 2 characters. The same is for backspace, if I press "Backspace" it will delete two Russian characters. This bug is only for non ASCII characters (>0x7F). And there is no reason for this behavior, it looks like DGUS trying to treat non-ASCII characters like unicode. Funny thing is when I try to delete last Russian character it goes out of variable address and fails to type anything at all after this. See attached video of this bug.
感谢您分享示例项目,但我实际上已经尝试过这种方法 - 使用扩展 ASCII 表。如果是俄语,则可以使用“1251 Cyrillic”和“866 OEM-Russian”。但最终还是不能正常工作。当存在大于 0xF7 的 ASCII 字符时,光标行为异常 - 它会跳转 2 个字符。退格键也是如此,如果我按“退格键”,它将删除两个俄语字符。此错误仅适用于非 ASCII 字符 (>0x7F)。这种行为没有任何理由,看起来 DGUS 试图像 unicode 一样对待非 ASCII 字符。有趣的是,当我尝试删除最后一个俄语字符时,它超出了变量地址,并且在此之后根本无法输入任何内容。请参阅此错误的附加视频。 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
x
|