Re: How to fix RE error?
Chris G <[email protected]> Wed, 12 Mar 2008 20:15:47 +0000
| Newsgroups | gmane.network.tin.user |
|---|---|
| Message-ID | <20080312201547.GA3072@th-shell-1> |
On Wed, Mar 12, 2008 at 07:32:27PM +0100, Urs Jan?en wrote: > On Wed, Mar 12, 2008 at 04:59:23PM +0000, Chris G wrote: > > I have moved from ISO-8859-1 to UTF-8 and now when I start tin it's > > complaining about an invalid character in the following RE :- > > > > strip_was_regex=.\(([Ww]a[rs]|[Bb]y[l³]o):.*\)\s*$ > > unfortunately tin doesn't store (and/or convert) it's config-files in the > current locale (that is on the TODO-list for ages) but assumes ISO-8859-X > (which was ok in pre UTF-8 dates). as you are running now in a UTF-8 env, > but the config file is still in ISO-8859-X you need to either convert the > file to UTF-8 (cp ~/.tin/tinrc ~/.tin/tinrc.bak ; iconv -f ISO-8859-2 -t > UTF-8 ~/.tin/tinrc > ~/.tin/tinrc.uf8 && mv ~/.tin/tinrc.uf8 ~/.tin/tinrc) > or just remove the offending char/part. > OK, excellent, all I needed to know, thank you! > > Do I need to rebuild tin in the new environment or what? > > no > > > It's that '³' that's causing the problem I think, what should it > > really be?... Am I seeing Polish in that RE, searching for Bylo > > with a line through the l? > > yes > ! :-) Why just Polish? -- Chris Green