withCharset

Creates a copy of this type with the added charset parameter with charset value.