Skip to content

go语言执行命令中文乱码解决

Notifications You must be signed in to change notification settings

workcha/ChineseCommandExec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

3 Commits

Repository files navigation

go

ChineseCommandExec

解决go语言在中文windows上面执行命令出现乱码的问题

demo代码

package main import "github.com/workcha/ChineseCommandExec/command" func main(){result := command.CommonExecute("ipconfig /all") println(result) } 

demo

About

go语言执行命令中文乱码解决

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages