Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

workcha/ChineseCommandExec

Open more actions menu

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.