djimenez / iconv-go

iconv support for Go
BSD 2-Clause "Simplified" License
418 stars 66 forks source link

winapi error #42 #41

Open MarErm27 opened 4 years ago

MarErm27 commented 4 years ago

When I do: "output,err := iconv.ConvertString(string(out), "windows-1252", "windows-1251")" I got: winapi error #42

When I do this: fmt.Printf(string(out)) I got: �������

When I do this:
var code string for _, f := range out { code += string(f) } fmt.Printf(code) I got: Ãëàâíûé