Bug Description
Chinese characters (CJK) display as garbled boxes/squares in the dialog window on Windows, while English characters display correctly.
Environment
- OS: Windows
- Platform: Windows x64
- Plugin version: @kirmad/askuserquestion
Steps to Reproduce
- Install the plugin:
npm install @kirmad/askuserquestion
- Configure in opencode.json:
{
"plugin": ["@kirmad/askuserquestion"]
}
- Use AskUserQuestion tool with Chinese text:
AskUserQuestion:
question: "这是一个中文问题"
header: "测试"
options: [
{ label: "选项A", description: "选择A" },
{ label: "选项B", description: "选择B" }
]
4. The dialog appears but Chinese characters show as garbled boxes
Expected Behavior
Chinese characters should display correctly in the dialog window.
Actual Behavior
Chinese characters display as garbled boxes/squares (□□□), while English characters display normally.
Additional Notes
- English text displays correctly
- This issue affects all CJK characters (Chinese, Japanese, Korean)
- The issue seems to be related to missing font support for CJK characters in the Windows native GUI dialog
Bug Description
Chinese characters (CJK) display as garbled boxes/squares in the dialog window on Windows, while English characters display correctly.
Environment
Steps to Reproduce
npm install @kirmad/askuserquestion{ "plugin": ["@kirmad/askuserquestion"] }AskUserQuestion:
question: "这是一个中文问题"
header: "测试"
options: [
{ label: "选项A", description: "选择A" },
{ label: "选项B", description: "选择B" }
]
4. The dialog appears but Chinese characters show as garbled boxes
Expected Behavior
Chinese characters should display correctly in the dialog window.
Actual Behavior
Chinese characters display as garbled boxes/squares (□□□), while English characters display normally.
Additional Notes