code: func GetCharsetOption(defaultValue string, options map[string]interface{}) string {
  	charsetOpt := options["charset"]
  	if s, isString := charsetOpt.(string); isString {
  		return s
  	}
  	return defaultValue
  }
docs: // GetCharsetOption receives a default value and the render options  map and returns the correct charset for this render action