func findCharset(content string) string {
    if pos := strings.LastIndex(content, "charset="); pos != -1 {
        return content[pos+len("charset="):]
    }
    return ""
}
// findCharset returns the charset given the Content-Type
findCharset returns the charset given the Content-Type
// findCharset returns the charset given the Content - Type
func findCharset(content string) string {
    if pos := strings.LastIndex(content, "charset="); pos != -1 {
        return content[pos+len("charset="):]
    }
    return ""
}
func findCharset ( content string ) string { if pos := strings . LastIndex ( content , " " ) ; pos != - 1 { return content [ pos + len ( " " ) : ] } return " " }
findCharset returns the charset given the Content-Type
findCharset returns the charset given the Content - Type