Subject: bug#12051: 24.1; rcirc-send-message doesn't take multibyte into account.

From: Leo <[email-masked]>
Date: Thu, 16 Aug 2012 11:16:04 +0800

On 2012-08-16 10:50 +0800, Eli Zaretskii wrote:
>> By worst expansion, do you mean assuming each char to be 5 bytes?
>
> Yes.

The will split English text at the boundary of 84 chars which seems
sub-optimal.

In the current implementation of rcirc-split-message, the inner loop
might not be run if the encoding is utf-8, which we can assume to be 90%
of the cases. So my suggestion is to leave it alone until we hit a real
case of inefficiency. What do you think?

Leo