Skip to content

question:在windows 11啓用unicode編碼支持後的系統中,輸入中文亂碼 #58

@qwe7002

Description

@qwe7002

image

查了一下,大概和golang使用utf-8編碼,而windows使用GBK/Unicode處理中文編碼有關

是否可以通過在輸出回顯的時候進行轉換的方式,來在windows下支持輸入中文。

https://golang.org/x/text/encoding/simplifiedchinese

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions