Re: Change name "Söme Näme" to "Söme Näme"?

2007-11-28 Thread Reiner Steib
On Mon, Nov 26 2007, Robert Widhopf-Fenk wrote: > On Monday, November 26, 2007 at 22:33:40, Reiner Steib wrote: >> Wouldn't it be better to encode the strings in UTF-8 and compare >> thereafter? (encode-coding-string name 'utf-8)? > > Thanks this was exactly the hint I was looking for ;-) Discla

Re: Change name "Söme Näme" to "Söme Näme"?

2007-11-28 Thread Reiner Steib
On Fri, Nov 23 2007, Tassilo Horn wrote: > From: =?ISO-8859-15?Q?J=FCrgen_Ebert?= <[EMAIL PROTECTED]> > From: =?ISO-8859-1?Q?J=FCrgen_Ebert?= <[EMAIL PROTECTED]> `unify-8859-on-decoding-mode' might solve this problem. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key availabl

Re: Change name "Söme Näme" to "Söme Näme"?

2007-11-28 Thread Reiner Steib
On Sun, Nov 25 2007, Robert Widhopf-Fenk wrote: > attached is a patch which fixes it for me in GNU Emacs 22, > but it is not perfect as it possibly fails for names which > cannot be converted to unibyte ... Wouldn't it be better to encode the strings in UTF-8 and compare thereafter? (encode-codi

Re: Change name "Söme Näme" to "Söme Näme"?

2007-11-27 Thread Tassilo Horn
Robert Widhopf-Fenk <[EMAIL PROTECTED]> writes: Hi Robert, >> > +(defun bbdb-name-normalize (n) >> > + "Normalizes a name, i.e. downcase and unibyte converion." >> > + (when n >> > +(setq n (downcase n)) >> > +(if (functionp 'string-make-unibyte) >> > + (funcall 'string-make-unibyte n

Re: Change name "Söme Näme" to "Söme Näme"?

2007-11-26 Thread Robert Widhopf-Fenk
On Monday, November 26, 2007 at 22:36:47, Reiner Steib wrote: > On Fri, Nov 23 2007, Tassilo Horn wrote: > > > From: Jürgen Ebert <[EMAIL PROTECTED]> > > From: Jürgen Ebert <[EMAIL PROTECTED]> > > `unify-8859-on-decoding-mode' might solve this problem. Within the same buffer, but IMHO not in the

Re: Change name "Söme Näme" to "Söme Näme"?

2007-11-26 Thread Robert Widhopf-Fenk
On Monday, November 26, 2007 at 22:33:40, Reiner Steib wrote: > On Sun, Nov 25 2007, Robert Widhopf-Fenk wrote: > > > attached is a patch which fixes it for me in GNU Emacs 22, > > but it is not perfect as it possibly fails for names which > > cannot be converted to unibyte ... > > Wouldn't it be

Re: Change name "Söme Näme" to "Söme Näme"?

2007-11-26 Thread Tassilo Horn
Robert Widhopf-Fenk <[EMAIL PROTECTED]> writes: Hi Robert, > attached is a patch which fixes it for me in GNU Emacs 22, but it is > not perfect as it possibly fails for names which cannot be converted > to unibyte ... > > Anyway, please test it. It seems to work for me, too. > +(defun bbdb-name

Re: Change name "Söme Näme" to "Söme Näme"?

2007-11-25 Thread Robert Widhopf-Fenk
Hi Tassilo, attached is a patch which fixes it for me in GNU Emacs 22, but it is not perfect as it possibly fails for names which cannot be converted to unibyte ... Anyway, please test it. Bye Robert === modified file 'lisp/bbdb.el' --- lisp/bbdb.el2007-11-08 20:36:49 + +++ lisp/bbd

Re: Change name "Söme Näme" to "Söme Näme"?

2007-11-23 Thread Tassilo Horn
Robert Widhopf-Fenk <[EMAIL PROTECTED]> writes: Hi Robert, > Please mail the From header of two of these messages. It is much > easier to debug this by example? From: =?ISO-8859-15?Q?J=FCrgen_Ebert?= <[EMAIL PROTECTED]> From: =?ISO-8859-1?Q?J=FCrgen_Ebert?= <[EMAIL PROTECTED]> The strange thin

stop bbdb from asking (was: Change name "Söme Näme" to "Söme Näme"?)

2007-11-23 Thread Uwe Brauer
> "Tassilo" == Tassilo Horn <[EMAIL PROTECTED]> writes: > Is there a way to stop bbdb asking those questions? Maybe by > converting the strings to some other encoding system like utf-8 > before the comparison? Although I do not suffer your problem, I do receive email from the same a

Re: Change name "Söme Näme" to "Söme Näme"?

2007-11-22 Thread Robert Widhopf-Fenk
On Wednesday, November 21, 2007 at 14:40:29, Tassilo Horn wrote: > Hi all, > > I read several newsgroups from my university where people whose name > contains umlauts and that are in my bbdb post with different > newsreaders. When I read such a posting bbdb asks me if I want to > change the name

Change name "Söme Näme" to "Söme Näme"?

2007-11-21 Thread Tassilo Horn
Hi all, I read several newsgroups from my university where people whose name contains umlauts and that are in my bbdb post with different newsreaders. When I read such a posting bbdb asks me if I want to change the name like the example I have in my subject. The problem is that one newsreader th