fromString

fun fromString(string: String, charset: Charset = Charset.forName("UTF-8")): InputSource