func ConvertString(input string, fromEncoding string, toEncoding string) (output string, err error) {
	converter, err := NewConverter(fromEncoding, toEncoding)
	if err == nil {
		output, err = converter.ConvertString(input)
		converter.Close()
	}
	return
}
All in one ConvertString method, rather than requiring the construction of an iconv.Converter
package iconv
func Convert(input []byte, output []byte, fromEncoding string, toEncoding string) (bytesRead int, bytesWritten int, err error) {
	converter, err := NewConverter(fromEncoding, toEncoding)
	if err == nil {
		bytesRead, bytesWritten, err = converter.Convert(input, output)
		if err == nil {
			var shiftBytesWritten int
			_, shiftBytesWritten, err = converter.Convert(nil, output[bytesWritten:])
			bytesWritten += shiftBytesWritten
		}
		converter.Close()
	}
	return
}