[cvsspam-devel] diffs not character safe

David Holroyd dave at badgers-in-foil.co.uk
Wed Mar 7 17:41:45 UTC 2007


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.

-- 
http://david.holroyd.me.uk/



More information about the cvsspam-devel mailing list