Shouldn't this be fixed in the dcpp/ instead? In AdcHub::on(Line) maybe before anything else is done? I assume that the adchub should only send (valid) UTF-8 and not binary data or use any other encoding. Validating it when it comes in would save us the trouble later.
Shouldn't this be fixed in the dcpp/ instead? In AdcHub::on(Line) maybe before anything else is done? I assume that the adchub should only send (valid) UTF-8 and not binary data or use any other encoding. Validating it when it comes in would save us the trouble later.
--RZ