noVNC clipboard does not send Turkish characters correctly on Windows VMs (CloudStack 4.22)
- 主要语言
- Java
- 星标
- 3.1k
- 派生
- 1.4k
- 平均合并
- 6 天 19 小时
- 30 天内合并 PR
- 32
描述
### problem
When using CloudStack 4.22 noVNC console, clipboard text containing Turkish characters is not transmitted correctly to Windows virtual machines.
"asdasdç"
Inside the Windows VM it appears corrupted:
"asdasd."
The issue only occurs with noVNC → Windows clipboard operations.
It does not occur on Linux VMs.
Typing manually sometimes works, but clipboard “Send” is consistently broken.
This suggests a missing or incorrect UTF-8 → Windows codepage conversion in the noVNC version included with the CloudStack 4.22 SystemVM.
### versions
CloudStack version: 4.22.0
System VM Template: systemvm64template 4.22 (fresh download)
Hypervisor: VMware ESXi 8.x
vCenter: 8.x
Browsers tested: Chrome, Firefox (same result)
Guest OS: Windows Server 2016 / 2019 / 2022 (all affected)
### The steps to reproduce the bug
1. Deploy a Windows VM in CloudStack 4.22
2. Open noVNC console → Clipboard
3. Paste the following UTF-8 text: "asdasdç"
4. Click Send Clipboard
5. Paste the text inside the Windows VM
Expected: Unicode characters should be transmitted correctly
Actual: Turkish characters appear corrupted or replaced with “?”
### What to do about it?
The noVNC version embedded in SystemVM may not properly handle UTF-8 clipboard transmission for Windows guests.
• CloudStack may need:
• An updated noVNC version inside the SystemVM
• A fix to clipboard handling for non-ASCII characters
• Unicode normalization before sending text to the RFB server
This issue appears similar to:
https://github.com/apache/cloudstack/issues/7335
Please investigate whether the current SystemVM noVNC build processes clipboard text incorrectly or lacks UTF-8 handling required for Windows VMs.
贡献指南
调研方向
从 CloudStack 4.22 System VM 中包含的 noVNC 剪贴板路径开始,在 Windows VM 上使用列出的土耳其文本重现该问题。将其行为与 Linux guest 以及相关的 issue 7335 进行比较。当 clipboard Send 在受影响的 Windows Server 版本中保留非 ASCII 字符时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 领域
- desktop, infrastructure
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100