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.