Add withStringPart method, for explicit charset, add the charset.