We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
查了一下,大概和golang使用utf-8編碼,而windows使用GBK/Unicode處理中文編碼有關
是否可以通過在輸出回顯的時候進行轉換的方式,來在windows下支持輸入中文。
https://golang.org/x/text/encoding/simplifiedchinese
The text was updated successfully, but these errors were encountered:
感觉是可行的,你可以先尝试一下。
首先要确定终端的字符集,然后转换到 utf-8 ?
Sorry, something went wrong.
是的,因爲我測試了mingw的bash,無論怎麼設置都是正常的
No branches or pull requests
查了一下,大概和golang使用utf-8編碼,而windows使用GBK/Unicode處理中文編碼有關
是否可以通過在輸出回顯的時候進行轉換的方式,來在windows下支持輸入中文。
https://golang.org/x/text/encoding/simplifiedchinese
The text was updated successfully, but these errors were encountered: