bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Leo
Subject: bug#12051: 24.1; rcirc-send-message doesn't take multibyte into account.
Date: Thu, 16 Aug 2012 11:16:04 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (OS X 10.8)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]