https://issues.apache.org/bugzilla/show_bug.cgi?id=44784
--- Comment #2 from Robert Rees <[EMAIL PROTECTED]> 2008-04-23 08:22:15 PST --- (In reply to comment #1) > According to > > http://www.iana.org/assignments/character-sets > Unless you can find a formal definition of the allowable characters for a > charset, I think it would be safest to assume only that ";" is not allowed. I'm happy with this as a solution for the extraction. The refactor to a Helper class makes it easier to read the code too. But if the server specifies a charset that the JVM doesn't support you will still get an invalid captured sampler. I think that the new conversion method should check Charset.isSupported on the captured charset and if the answer is false return Charset.defaultCharset().name(). That way getEncodingFromContentType will always return a valid encoding for the platform. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
