[cvsspam-devel] diffs not character safe

Elan Ruusamäe glen at delfi.ee
Wed Mar 7 19:06:28 UTC 2007


On Wednesday 07 March 2007 19:41:45 David Holroyd wrote:
> On Wed, Mar 07, 2007 at 07:20:19PM +0200, Elan Ruusam?e wrote:
> > On Wednesday 07 March 2007 18:05:54 David Holroyd wrote:
> > > > cvsspam hilights after first byte of letter 'k' because it's unicode
> > > > first part is the same byte.
> > >
> > > I hadn't considered that possibility. Maybe the within-a-line
> > > colouring should be disabled when a multibyte encoding is detected?
> >
> > as quick fix, would be nice. but how you detect the charset is
> > multibyte? just match /utf-?.+/i ?
>
> My use of 'detect' was incorrect :)
>
> Yeah, a regexp or just a simple list of encodings was about what I had
> in mind.

ok. waiting for patch :)

-- 
glen



More information about the cvsspam-devel mailing list