`Japanese column names are garbled in Go-based sqlcmd output`
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- cli, internationalization
Research direction
Reproduce the query SELECT 1 AS 件数 in Go-based sqlcmd v1.8.2 on Windows with code page 65001, then compare the output with legacy ODBC-based sqlcmd.exe. No source file or test is named; done means the Japanese column name displays correctly and a regression test covers this case.
Written by the indexing model from the issue text.
Description
Bug: Japanese column names are garbled in Go-based sqlcmd output
Environment
- OS: Windows 11 Pro
- sqlcmd version: Go-based sqlcmd v1.8.2
- Terminal: cmd.exe (code page 65001)
- Font: MS Gothic / Consolas
Reproduction
SELECT 1 AS 件数
Expected
The column name "件数" should be displayed correctly.
Actual
The column name is garbled (e.g., "縺。繧峨↑").
Notes
This issue does not occur in the legacy ODBC-based sqlcmd.exe.
Even with UTF-8 code page and proper fonts, the output is incorrect.
This affects Japanese users significantly and should be considered a localization bug.
Please consider addressing this issue or providing a workaround.
- Dominant language
- Go
- Stars
- 595
- Forks
- 91
- Avg merge
- 9h 35m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/go-sqlcmd
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
-
Difficulty 3/5 1-2 days Newbie friendliness 76/100
All issues in microsoft/go-sqlcmd
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
NVIDIA/gpu-operator#2955 ·
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
kovidgoyal/kitty#10516 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
cisagov/vulnrichment#337 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100