Emacs 21.2.1 on debian, and 21.2.1 on Windows.

If I have a name with norwegian characters - f.e.

Øistein Erikson stored in a record that begins:

["Øistein" "Erikson" nil "Longship"

When it sees a mail (gnus - both CVS Oort and 5.9.0) it asks

Change name Øistein Erikson to Øistein Erikson?

Say yes, and you end up with a record that starts:

["Øistein" "Erikson" ("\330istein Erikson") "Longship"

This happens with øæåØÆÅ.

I've tried converting .bbdb to UTF-8, ISO-8859-1, ISO-8859-15 -
nothing seems to work.

The worst is - that next time, it will ask again - and this time the
AKA will get encoded another time - it just repeats and repeats.

When you save it - it claims that only utf can safely represent the
characters in the file. I don't care what encoding it has as long as
it behaves consistently.

Now the file has started throwing elisp exceptions (probably due to
being saved too many times in different charsets etc etc).

I know that this can probably be solved by starting with a fresh .bbdb
file, but I have lots of entries - Any ideas? Any way of safely
exporting the data to another format that can be imported? 


Emacs  : GNU Emacs 21.2.1 (i386-debian-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2002-03-22 on raven, modified by Debian
Package: BBDB 2.35

current state:
==============
(setq
 emacs-version "21.2.1"
 bbdb-version-date "$Date: 2002/08/14 19:00:58 $"
 bbdb-file-format 6
 bbdb-no-duplicates-p nil
 bbdb-address-editing-function 'bbdb-address-edit-default
 bbdb-address-formatting-alist '((bbdb-address-is-continental .
                                  bbdb-format-address-continental)
                                 (nil . bbdb-format-address-default))
 bbdb-addresses-label-list '("Home" "Office" "Mobile" "Other" "Klatresenter")
 bbdb-after-change-hook '(bbdb/gnus-score-invalidate-alist)
 bbdb-after-read-db-hook nil
 bbdb-always-add-addresses nil
 bbdb-auto-notes-alist nil
 bbdb-auto-notes-ignore nil
 bbdb-auto-notes-ignore-all nil
 bbdb-auto-revert-p nil
 bbdb-canonical-hosts 
"cs\\.cmu\\.edu\\|ri\\.cmu\\.edu\\|edrc\\.cmu\\.edu\\|andrew\\.cmu\\.edu\\|mcom\\.com\\|netscape\\.com\\|cenatls\\.cena\\.dgac\\.fr\\|cenaath\\.cena\\.dgac\\.fr\\|irit\\.fr\\|enseeiht\\.fr\\|inria\\.fr\\|cs\\.uiuc\\.edu\\|xemacs\\.org"
 bbdb-canonicalize-net-hook nil
 bbdb-canonicalize-redundant-nets-p t
 bbdb-case-fold-search t
 bbdb-change-hook 'bbdb-timestamp-hook
 bbdb-check-zip-codes-p t
 bbdb-complete-name-allow-cycling nil
 bbdb-complete-name-hooks '(ding)
 bbdb-completion-display-record t
 bbdb-completion-type nil
 bbdb-continental-zip-regexp "^\\s *[A-Z][A-Z]?\\s *-\\s *[0-9][0-9][0-9]"
 bbdb-create-hook 'bbdb-creation-date-hook
 bbdb-default-area-code nil
 bbdb-default-country "Emacs"
 bbdb-default-domain nil
 bbdb-default-label-list '("Home" "Office" "Mobile" "Other")
 bbdb-define-all-aliases-field 'mail-alias
 bbdb-define-all-aliases-mode 'first
 bbdb-dial-local-prefix nil
 bbdb-dial-local-prefix-alist '(((if (integerp bbdb-default-area-code)
                                  (format "(%03d)" bbdb-default-area-code)
                                  (or bbdb-default-area-code ""))
                                 "")
                                )
 bbdb-dial-long-distance-prefix nil
 bbdb-display-layout nil
 bbdb-display-layout-alist '((one-line (order phones mail-alias net notes)
                              (name-end . 24) (toggle . t))
                             (multi-line (omit creation-date timestamp)
                              (toggle . t))
                             (full-multi-line))
 bbdb-dwim-net-address-allow-redundancy nil
 bbdb-electric-p nil
 bbdb-expand-mail-aliases t
 bbdb-extract-address-component-handler 'message
 bbdb-extract-address-component-ignore-regexp 
"\\(\\(undisclosed\\|unlisted\\)[^,]*recipients\\)\\|no To-header on input"
 bbdb-extract-address-component-regexps '(("\"\\([^\"]*\\)\"\\s-*<\\([^>]+\\)>"
                                           (car
                                            (mail-extract-address-components
                                             (concat "\""
                                              (match-string 1 adstring) "\"")
                                             )
                                            )
                                           2)
                                          ("\\([^<>,    ][^<>,]+[^<>,   
]\\)\\s-*<\\([^>]+\\)>" 1 2)
                                          ("<\\([^>,]+\\)>" nil 1)
                                          ("\\(\\b[^<\",()]+\\b\\)\\s-*(\\([^)]+\\))"
                                           (car
                                            
                                                                                       
(mail-extract-address-components
                                                                                       
 
                                                                                       
 
                                                                                       
     (concat
                                                                                       
      
                                                                                       
      
                                                                                       
      
                                                                                       
      
                                                                                       
      
                                                                                       
                                      "\""
                                                                                       
      
                                                                                       
      
                                                                                       
      
                                                                                       
      
                                                                                       
      
                                                                                       
                                      (match-string 2 adstring)
                                                                                       
      
                                                                                       
      
                                                                                       
      
                                                                                       
      
                                                                                       
      
                                                                                       
                                      "\"")
                                                                                       
 
                                                                                       
 
                                                                                       
     )
                                            
                                                                                       
)
                                           1)
                                          ("\\b\\(\\([^@        \n.]+\\.[^@     
\n.]+\\)@[^@    \n]+\\)\\b"
                                           (car
                                            
                                                                                       
                      (mail-extract-address-components
                                                                                       
                       
                                                                                       
                       
                                                                                       
                           (concat
                                                                                       
                            
                                                                                       
                            
                                                                                       
                            
                                                                                       
                            
                                                                                       
                            
                                                                                       
                                                            "\""
                                                                                       
                            
                                                                                       
                            
                                                                                       
                            
                                                                                       
                            
                                                                                       
                            
                                                                                       
                                                            (match-string 2 adstring)
                                                                                       
                            
                                                                                       
                            
                                                                                       
                            
                                                                                       
                            
                                                                                       
                            
                                                                                       
                                                            "\"")
                                                                                       
                       
                                                                                       
                       
                                                                                       
                           )
                                            
                                                                                       
                      )
                                           1)
                                          ("\\b\\(\\([^@        \n]+\\)@[^@     
\n]+\\)\\b" nil 1)
                                          ("\\b\\([^@   \n]+\\)\\b" nil 1))
 bbdb-extract-address-components-func 'bbdb-rfc822-addresses
 bbdb-file "~/.bbdb"
 bbdb-file-remote nil
 bbdb-file-remote-save-always t
 bbdb-finger-buffer-name "*finger*"
 bbdb-finger-host-field 'finger-host
 bbdb-get-addresses-headers '((authors "From" "Resent-From" "Reply-To")
                              (recipients "Resent-To" "Resent-CC" "To" "CC"
                               "BCC")
                              )
 bbdb-get-only-first-address-p t
 bbdb-gui t
 bbdb-hashtable-size 1021
 bbdb-ignore-most-messages-alist nil
 bbdb-ignore-selected-messages-confirmation nil
 bbdb-ignore-some-messages-alist nil
 bbdb-info-file nil
 bbdb-initialize-hook nil
 bbdb-legal-zip-codes '("^$"
                        "^[     \n]*[0-9][0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[        \n]*$" 
"^[      \n]*\\([0-9][0-9][0-9][0-9][0-9]\\)[    \n]*-?[         
\n]*\\([0-9][0-9][0-9][0-9]?\\)[        \n]*$" "^[      \n]*\\([A-Za-z0-9]+\\)[        
 \n]+\\([A-Za-z0-9]+\\)[         \n]*$" "^[      \n]*\\([A-Z]+\\)[       \n]*-?[       
  \n]*\\([0-9]+ ?[A-Z]*\\)[       \n]*$" "^[      \n]*\\([A-Z]+\\)[       \n]*-?[      
   \n]*\\([0-9]+\\)[       \n]+\\([0-9]+\\)[       \n]*$")
 bbdb-list-hook nil
 bbdb-load-hook nil
 bbdb-message-caching-enabled t
 bbdb-message-marker-field 'mark-char
 bbdb-mode-hook nil
 bbdb-modem-device "/dev/modem"
 bbdb-modem-dial nil
 bbdb-new-nets-always-primary nil
 bbdb-north-american-phone-numbers-p nil
 bbdb-notes-default-separator ", "
 bbdb-notes-sort-order '((notes . 0) (www . 1) (ftp . 2) (gopher . 3)
                         (telnet . 4) (mail-alias . 5) (mail-folder . 6)
                         (lpr . 7) (creation-date . 1000) (timestamp . 1001))
 bbdb-notice-auto-save-file nil
 bbdb-notice-hook nil
 bbdb-offer-save t
 bbdb-phones-label-list '("Home" "Office" "Mobile" "Other" "Temporary"
                          "Klatresenter")
 bbdb-pop-up-display-layout nil
 bbdb-pop-up-target-lines 0
 bbdb-quiet-about-name-mismatches nil
 bbdb-readonly-p nil
 bbdb-refile-notes-default-merge-function 'bbdb-refile-notes-default-merge-function
 bbdb-refile-notes-generate-alist '((creation-date .
                                     bbdb-refile-notes-string-least)
                                    (timestamp . bbdb-refile-notes-string-most))
 bbdb-save-db-timeout nil
 bbdb-send-mail-style nil
 bbdb-silent-running nil
 bbdb-snarf-web-prop 'www
 bbdb-sound-files nil
 bbdb-sound-player nil
 bbdb-sound-volume 50
 bbdb-time-display-format "%d %b %Y"
 bbdb-update-records-mode 'annotating
 bbdb-use-alternate-names t
 bbdb-use-pop-up nil
 bbdb-user-mail-names nil
 bbdb-write-file-hooks '(bbdb-write-file-hook-fn)
 bbdb/gnus-lines-and-from-length 18
 bbdb/gnus-score-default nil
 bbdb/gnus-score-field 'gnus-score
 bbdb/gnus-split-crosspost-default nil
 bbdb/gnus-split-default-group "mail.misc"
 bbdb/gnus-split-myaddr-regexp "^chris$\\|^chris@\\([-a-z0-9]+\\.\\)*alice.lan$"
 bbdb/gnus-split-nomatch-function nil
 bbdb/gnus-split-private-field 'gnus-private
 bbdb/gnus-split-public-field 'gnus-public
 bbdb/gnus-summary-in-bbdb-format-letter "b"
 bbdb/gnus-summary-known-poster-mark "+"
 bbdb/gnus-summary-mark-known-posters t
 bbdb/gnus-summary-prefer-bbdb-data t
 bbdb/gnus-summary-prefer-real-names t
 bbdb/gnus-summary-show-bbdb-names t
 bbdb/gnus-summary-user-format-letter "B"
 bbdb/gnus-update-records-mode 'annotating
 bbdb/mail-auto-create-p t
 bbdb/news-auto-create-p nil
 bbdb/vm-set-auto-folder-alist-field 'vm-folder
 bbdb/vm-set-auto-folder-alist-headers '("From:" "To:" "CC:")
 features '(reporter newcomment debug eieio-opt view bbdb-gui bbdb-hooks
            pgg-gpg sort gnus-cite smiley gnus-async gnus-ml disp-table
            gnus-topic nnfolder byte-opt bytecomp byte-compile nnml nndraft
            nnmh bbdb-gnus bbdb-snarf mail-extr bbdb-com gnus-agent gnus-srvr
            gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mm-view
            gnus-sum gnus-group mm-url url url-proxy url-privacy url-expand
            url-methods url-history url-cookie url-util url-parse url-auto
            url-vars gnus-undo nnmail mail-source nntp nnoo gnus-cache
            gnus-start gnus-range gnus-spec gnus-int gnus-win gnus gnus-ems
            semantic-el mailcrypt cs-mail bbdb timezone message rfc822 mml
            mml-sec mml-smime smime dig mml1991 mml2015 pgg pgg-parse pgg-def
            mm-decode mm-bodies mm-encode mailcap mail-parse rfc2045 rfc2231
            rfc2047 gnus-util netrc qp ietf-drums time-date parse-time
            mailabbrev sendmail nnheader mm-util mail-prsvr mail-utils
            mailheader canlock cs-c cs-java jde executable jde-package
            jde-import jde-which-method jde-stat jde-javadoc jde-javadoc-gen
            jde-java-font-lock jde-bug jde-dbs jde-dbo jde-help jde-wiz
            jde-widgets tree-widget jde-complete beanshell browse-url jde-gen
            tempo jde-make compile jde-run jde-db jde-parse jde-imenu
            semantic-imenu jde-java-grammar semantic-java avltree stack-m
            elib-node semantic-bnf semantic-sb semantic-ia-sb semantic-analyze
            semantic-ctxt semantic-cb eieio-base eieio-speedbar eieio-custom
            eieio speedbar sb-image dframe semantic-util-modes semantic-util
            semantic assoc working gud easy-mmode etags jde-compile cus-edit
            cus-start cus-load cc-mode cc-align cc-cmds cc-engine cc-styles
            cc-langs cc-vars wid-edit cc-menus imenu cc-defs cl cl-19 easymenu
            semantic-load cs-functions cs-zenirc zenirc-popup zenirc-notify
            zenirc-netsplit zenirc-ignore zenirc-history zenirc-format
            zenirc-fill zenirc-dcc zenirc-complete zenirc-away zenirc tramp
            advice advice-preload shell comint ring format-spec image-file
            paren mwheel jit-lock font-lock mailcrypt-init crypt crypt++
            crypt+pgp-pub derived bbdb-autoloads tex-site mule-util regexp-opt
            tooltip image tool-bar fontset ediff-hook vc-hooks lisp-float-type
            lisp-mode page menu-bar timer select scroll-bar mldrag mouse
            facemenu faces cus-face frame misc-lang vietnamese tibetan thai lao
            korean japanese hebrew greek romanian slovak czech european
            ethiopic devanagari indian cyrillic chinese case-table help overlay
            md5 base64 format mule env backquote custom widget x-toolkit)
 )


Debugger entered--Lisp error: (error "record doubleplus unpresent!")
  signal(error ("record doubleplus unpresent!"))
  error("record doubleplus unpresent!")
  bbdb-display-records-1((["Ole" "Johansen" ("Ole Alexander Johansen") "Longship" nil 
nil ("[EMAIL PROTECTED]" "[EMAIL PROTECTED]" "[EMAIL PROTECTED]") (... ... ... ...) 
["Ole Johansen" "johansenolelongship" #<marker at 7573 in .bbdb> nil]]) t)
  bbdb-complete-name(127)
  bbdb-complete-name()
  call-interactively(bbdb-complete-name)
  recursive-edit()
  byte-code("Æ!ˆÇ ˆÈ      
!ˆ\nƒ?Éed\"Vƒ4ebˆÊ¥yˆ`dbˆÊ¥Zyˆ\f`|ˆ)ËcˆebˆÌÍ !ˆÎ ˆ  
@Ï=ƒKÐÑÒ\"ˆÓ ˆÌÔ!ˆÒÕÒÌÔ!ˆŠÖ ˆ,Շ" [debugger-buffer 
debugger-args noninteractive debugger-batch-max-lines middlestart buffer-read-only 
pop-to-buffer debugger-mode debugger-setup-buffer count-lines 2 "...\n" message 
buffer-string kill-emacs debug backtrace-debug 3 t debugger-reenable "" nil 
recursive-edit standard-output inhibit-trace] 3)
  debug(error (error "record doubleplus unpresent!"))
  signal(error ("record doubleplus unpresent!"))
  error("record doubleplus unpresent!")
  bbdb-display-records-1((["Rod" "Searle" ("dad") nil nil nil ("[EMAIL PROTECTED]" 
"[EMAIL PROTECTED]" "[EMAIL PROTECTED]") (... ... ... ...) ["Rod Searle" 
"searlerod" #<marker at 14311 in .bbdb> nil]]) t)
  bbdb-complete-name(77)
  bbdb-complete-name()
  call-interactively(bbdb-complete-name)


-------------------------------------------------------
This sf.net email is sponsored by: Are you worried about
your web server security? Click here for a FREE Thawte
Apache SSL Guide and answer your Apache SSL security
needs: http://www.gothawte.com/rd523.html
_______________________________________________
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to