Re: [Mutt] #862: format=flowed handler isn't utf-8 aware
#862: format=flowed handler isn't utf-8 aware
Comment (by Brendan Cully):
{{{
On Wednesday, 11 April 2007 at 12:55, Rocco Rutte wrote:
> > Does anyone know if this bug still applies to the new f=f handler?
>
> 1. It searches for break points on ASCII space only, so there
> shouldn't be any issue.
Is it possible that in some charsets ASCII space is part of another
character? So that we'd have to scan the line forward instead of just
jumping to the wrap point?
> 2. It uses byte offsets within the flowed line (i.e. the full paragraph
> concatenated) to detect whether a line is too short/long so that flowed
> lines with many multibyte chars may be shorter on screen than expected,
> but never longer (i.e. it respects $wrap).
if we find a space correctly, I think this is true.
}}}
--
Ticket URL: <http://www.mutt.org/ticket/862#comment:>