Is it possible to write to a file in Go with a specific encoding like windows-1252 for instance?
问问题
655 次
2 回答
4
You will have to use a library to convert between encodings:
https://code.google.com/p/go-charset/
The library allows you to convert strings to and from encodings like windows-1252
.
于 2013-10-28T16:48:07.213 回答