Closed sstephenson closed 14 years ago
512 characters is actually 512 bytes according to RFC 1459. Is Hector taking a different approach?
Also, is there a need for a global mechanism to split responses into appropriately-sized chunks?
In 1.8 Strings are just byte sequences and I believe 1.8 String#split/length will do exactly what is expected (in the sense of bytes v. characters) as far as the RFC goes.
Correct. 1.8's String behavior has worked without a hitch in other IRC projects. I was clarifying what the RFC requires, just in case.
Split up 353 responses so that each response fits into a 512-char line.