Windows Mobile 上的终端服务 - “粘贴”不保留标点符号?

发布于 2024-08-04 09:17:17 字数 490 浏览 8 评论 0原文

我这里有一台基于 Windows Mobile 的 PDA (Mobile Compia M3 Sky),配备了条形码扫描仪。该条形码扫描仪的工作原理是将扫描仪中的数据读取到剪贴板中,然后在当前运行的任何应用程序上模拟粘贴。

问题是,当您从设备使用终端服务并扫描包含标点符号的条形码(例如“A-2-C”、“A-1-[”)时,标点符号在到达服务器之前会被删除 -即,到达服务器的唯一内容是字母数字(即分别为“A2C”和“A1”)。

我已验证该设备确实具有完整的条形码,包括剪贴板中的标点符号 - 即,如果我打开设备上的注释并扫描这些条形码,它们就会正确粘贴(即“A-2-C”和“A-1- [" 分别),我可以通过点击、按住并选择“粘贴”或按软键盘上的 Ctrl+V 再次粘贴它们。

然而,由于某种原因,该标点符号似乎被设备上的 RDP 客户端 (mstsc40.exe) 删除 - 无论服务器运行什么应用程序或操作系统,这种情况都会发生。

有没有人有这方面的经验,或者有任何指示?

干杯!

I have here a Windows Mobile-based PDA (Mobile Compia M3 Sky) equipped with a barcode scanner. This barcode scanner works by reading the data from the scanner into the Clipboard and then simulating a Paste on whatever application is currently running.

The problem is, when you're using Terminal Services from the device and you scan a barcode containing punctuation (e.g. "A-2-C", "A-1-[") the punctuation gets stripped out before it reaches the server - i.e. the only things that make it to the server are the alphanumerics (i.e. "A2C" and "A1" respectively).

I have verified that the device does have the full barcode including punctuation in the clipboard - i.e. if I open up Notes on the device and scan these barcodes, they are pasted correctly (i.e. "A-2-C" and "A-1-[" respectively) and I can paste them again by tapping, holding and selecting Paste, or by pressing Ctrl+V on the soft keyboard.

However, for some reason, this punctuation appears to get stripped out by the RDP client on the device (mstsc40.exe) - it happens regardless of what application or OS the server is running [on].

Does anyone have any previous experience with this, or have any pointers?

Cheers!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

筱果果 2024-08-11 09:17:17

我只能建议使用虚拟通道发送数据的解决方法。虽然这并不是您问题的真正答案,但这将是一个更好的解决方案,因为已知通过 RDP 连接进行复制/粘贴存在错误(请参阅以下链接:RDP 剪贴板修复为什么我的共享剪贴板不起作用?(第 1 部分) & 为什么我的共享剪贴板不起作用吗?(第 2 部分)

I can only suggest a workaround of using Virtual Channels to send over the data. Although not really an answer to your question it would be a better solution since copy/paste over an RDP connection is known to be buggy (see these links: RDP Clipboard Fix, Why does my shared clipboard not work? (Part 1) & Why does my shared clipboard not work? (Part 2))

夏至、离别 2024-08-11 09:17:17

最终,这只是 RDP 客户端在 Windows Mobile 5 上的糟糕实现。WM6 还好。

In the end it was just a bad implementation of the RDP client on Windows Mobile 5. WM6 is fine.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文